Commit Graph

618 Commits

Author SHA1 Message Date
e721e542f3 Add chunk_handler 2023-01-24 00:07:22 +01:00
df7dfb5107 Refactor uri.c
buf3 removed, unnecessary and not initialized
2023-01-23 23:43:14 +01:00
5f3ba2b971 Add sock_init() 2023-01-23 23:35:53 +01:00
1e0a7c95da Unset prefix at other position in async 2023-01-23 23:33:01 +01:00
0394c3afb4 Add new line in ws_frame_handler.c 2023-01-23 13:02:53 +01:00
32ea03079b Add sock_splice_all() 2023-01-23 12:55:41 +01:00
8b63d2cf32 Refactor proxy and socket a bit 2023-01-23 11:09:28 +01:00
d461ba6f29 Fix typo in workers.c 2023-01-23 10:09:34 +01:00
5b98fd0dab Catching error of async_thread() in main 2023-01-23 10:07:58 +01:00
0b1b0bcb56 Update async_check to check return value of poll() 2023-01-23 01:53:36 +01:00
44fc7f2e5c Add flags to sock_splice_chunked 2023-01-23 01:50:50 +01:00
c8b605aa90 Save proxy connection time 2023-01-13 02:59:48 +01:00
59b9bfd53e Finally remove compression from proxy 2023-01-13 02:49:25 +01:00
e8655102b9 Use sock in fastcgi 2023-01-13 02:36:41 +01:00
add135b3ad Use htons and ntohs in fastcgi 2023-01-12 20:40:40 +01:00
2d250621c8 Add time to log prefix 2023-01-12 20:29:34 +01:00
f96dc46ea7 Add sock_send_x and remove fastcgi compression 2023-01-12 19:51:26 +01:00
5138dafb8e Refactor compress a bit 2023-01-12 16:30:10 +01:00
4be5b0d195 lock magic in cache_handler 2023-01-12 16:29:05 +01:00
a84aa591d4 Really avoid double free in async 2023-01-12 15:25:40 +01:00
d7db1f0be9 Make error_str GNU_SOURCE compliant 2023-01-12 15:24:30 +01:00
116f7035ed Initialize cache after logger_init() 2023-01-12 15:10:16 +01:00
8abc0b8bfa Avoid double free in async 2023-01-12 15:09:05 +01:00
410d692372 Truly initialize thread name 2023-01-12 15:07:46 +01:00
f42ac83323 Add list_contains() to list 2023-01-12 15:07:03 +01:00
7d576b2466 Better lossy error code description 2023-01-12 13:13:24 +01:00
5acab8144d Rework error interface 2023-01-12 12:54:23 +01:00
4814035b62 Fix echo Makefile bug 2023-01-12 11:47:48 +01:00
15f400f376 Add status_code_t in http.h 2023-01-12 10:22:27 +01:00
32638fdd91 Fix list_remove() 2023-01-12 10:21:57 +01:00
07d6280864 Fix list pointer bug in proxy 2023-01-12 01:58:14 +01:00
820ce8dac9 Update logger_prefix 2023-01-12 00:34:04 +01:00
5bd9b3fb33 Hopeful fix 2023-01-11 23:53:43 +01:00
a3dcddf69d Add lock for clients list 2023-01-11 18:06:55 +01:00
487386158d Remove most memory leaks with valgrind 2023-01-11 17:50:11 +01:00
32f00175e4 Add lock to cache_handler 2023-01-11 15:55:39 +01:00
581b4dc5aa Fix flines() 2023-01-11 15:07:01 +01:00
611ceabfb2 Small fixes in tcp_acceptor 2023-01-11 14:49:06 +01:00
6b295cef95 Add Accept-Ranges lines 2023-01-11 14:30:12 +01:00
764b754a6f Add more utils 2023-01-11 11:06:36 +01:00
7699583c5f List/FastCGI cleanup 2023-01-11 00:34:17 +01:00
8b92d4ff91 Remove color_table 2023-01-10 23:54:47 +01:00
e8d8abdc5a Add -C --clean 2023-01-10 23:52:29 +01:00
15c6b7ddaa Create .sesimos/ in cache_init 2023-01-09 22:53:42 +01:00
e9a065f8aa Add -pthread to Makefile 2023-01-09 22:47:50 +01:00
0730429041 Fix error.c 2023-01-09 22:45:37 +01:00
af62a3065a Add http error handling 2023-01-09 22:01:50 +01:00
c36ad8c113 Add global error handling 2023-01-09 01:07:02 +01:00
7f7a07c4d2 Add HTTP status code descriptions 2023-01-08 23:13:47 +01:00
4ff22bd0c6 Handle timeouts in epoll 2023-01-08 22:19:16 +01:00