Commit Graph

521 Commits

Author SHA1 Message Date
fc9538fa6d Update sock_check to sock_has_pending 2023-01-02 19:56:29 +01:00
9d8120966d Handle SIGPIPE 2023-01-02 19:48:12 +01:00
3c5ecacecc Refactor async.c 2023-01-02 18:16:18 +01:00
606865e5dc Handle proxy earlier 2023-01-02 17:54:30 +01:00
b79c9c710b Async locking 2023-01-02 17:53:44 +01:00
4b4e7bd257 Refactor async_exec 2023-01-02 17:32:13 +01:00
8d6b7105f3 Using sock_recv in sock_check 2023-01-02 17:28:40 +01:00
95e2ddb24c Fix clock_micros() 2023-01-02 17:28:08 +01:00
535e1add96 Make errno in sock transparent 2023-01-02 17:03:39 +01:00
51d85cc99f Async check if closed 2023-01-02 16:52:18 +01:00
a4c0093fbe Small improvements 2023-01-02 15:43:26 +01:00
6ff6f0c73b Reduce client_ctx_t footprint 2023-01-02 15:20:02 +01:00
555e8f62a1 Fix FastCGI error handling 2023-01-02 14:33:48 +01:00
03c2c7b364 Outsource default documents to actual files 2023-01-02 14:26:59 +01:00
abb40a659c Fix proxy pointer arithmetic 2022-12-31 11:44:52 +01:00
6eb3b99bfb Update Makefile 2022-12-31 11:37:44 +01:00
9cb278eb2a Remove tcp_closer 2022-12-31 11:20:29 +01:00
33feabdec0 Update server string Sesimos -> sesimos 2022-12-31 02:30:35 +01:00
7995a9699e TRACE now works for http 2022-12-31 02:27:27 +01:00
680344fbec TRACE working again 2022-12-31 02:20:32 +01:00
e667a79ab2 Closing connection if no keep alive 2022-12-31 02:14:20 +01:00
816c8c0bfc Actually using async 2022-12-31 02:00:01 +01:00
1547805e4c Add sock_set_timeout() 2022-12-31 01:36:24 +01:00
96f3225f51 Add clock_micros() 2022-12-31 00:53:36 +01:00
9ad1ecf1da Rev proxy working again 2022-12-31 00:28:20 +01:00
28d7cf68df Outsource from request_handler 2022-12-30 16:48:48 +01:00
204317f46a Remove responder 2022-12-30 16:06:49 +01:00
a56002a409 More workers 2022-12-29 23:21:40 +01:00
db966b3a66 Merge worker .h files 2022-12-29 22:00:32 +01:00
5d27cf0398 Update workers 2022-12-29 21:47:42 +01:00
7a2acb0e66 Add workers 2022-12-29 21:41:40 +01:00
cff5d558d6 Fix responder name 2022-12-29 21:17:00 +01:00
665e4ceabc Splitting in request_handler and responder 2022-12-29 18:51:12 +01:00
f241913620 rename fastcgi_conn to fastcgi_cnx_t 2022-12-29 17:09:56 +01:00
2969e435d1 Small fixes 2022-12-29 17:02:57 +01:00
c4289ac018 Set logger prefix in request handler 2022-12-29 12:18:39 +01:00
672745f6df Delete client.h/.c 2022-12-29 11:47:59 +01:00
f92c26c350 async - check if fd is already ready 2022-12-29 11:31:52 +01:00
f9b3cc29ab Update logger to use format 2022-12-29 11:09:45 +01:00
5c72a0cb60 Request handler 2022-12-29 10:27:54 +01:00
cf3cff0746 Reset errno after EINTR 2022-12-29 10:14:14 +01:00
b90ed61e03 Async working with connection handlers 2022-12-29 01:49:00 +01:00
dfc659dec0 Renamed logger_alive to alive 2022-12-29 00:02:33 +01:00
096aeae23b Async working (in concept) 2022-12-28 16:40:31 +01:00
cd97eca7d3 Add client_ctx_t in client_handler 2022-12-28 15:17:19 +01:00
ce658ac965 move lib/cache to cache_handler 2022-12-19 15:27:38 +01:00
dd4f768cc4 Logger and config refactor 2022-12-19 14:36:00 +01:00
45514f90ca Multi processing -> multi threading 2022-12-18 22:18:11 +01:00
44913c1e0e Refactor 2022-12-15 19:55:52 +01:00
b244f86c72 Remove unneccessary malloc in compress 2022-12-15 19:49:59 +01:00