Commit Graph

191 Commits

Author SHA1 Message Date
99c4eb1c8a Update http_static 2023-01-07 00:21:25 +01:00
fb59b0d8c4 Using 504 instead of 503 2023-01-06 22:45:56 +01:00
950bf19331 Use semaphores to keep track of proxy connections 2023-01-05 22:51:30 +01:00
993cb65724 Mark proxy connection free on error 2023-01-05 22:29:28 +01:00
4782707049 Working on TODOs in proxy.c 2023-01-05 21:59:23 +01:00
6112e719e5 Improve list 2023-01-05 20:20:32 +01:00
6f2751f69b Added http_parse_request 2023-01-05 18:54:31 +01:00
925ff2b9e4 Add clock_cpu() 2023-01-05 18:45:48 +01:00
c67edd4195 Close all connections on exit 2023-01-04 00:40:09 +01:00
f87fb74ced Remove sock_poll 2023-01-03 18:58:58 +01:00
cd80a194dd Use strcasecmp in http.c 2023-01-03 18:36:40 +01:00
896486b64a WebSocket async working 2023-01-03 16:12:45 +01:00
f8d3253a9f Fix reverse proxy error 2023-01-03 14:52:36 +01:00
ec3183e99b Outsource globe.svg 2023-01-03 14:42:01 +01:00
27d514ae12 Cleanup 2023-01-03 14:34:54 +01:00
e82869e993 Using list in http header 2023-01-03 14:05:11 +01:00
a54a6af497 Add list_insert/append_ptr 2023-01-03 14:04:03 +01:00
c13bea5ab4 Refactor proxy a bit 2023-01-03 12:58:18 +01:00
f7f245c931 Outsource default favicons 2023-01-03 11:08:17 +01:00
e72cb57b4a Fix mpmc worker termination 2023-01-03 10:34:08 +01:00
f416c2f05c Change format_duration to format minutes as XX:XX 2023-01-02 22:20:33 +01:00
300e3dc0aa Botch sock_strerror 2023-01-02 22:12:34 +01:00
26869c0df5 Improve list tests 2023-01-02 22:01:51 +01:00
c7488b0f59 Add list.c 2023-01-02 21:48:06 +01:00
24cb993cb8 Remove parameter client_num from fastcgi_init() 2023-01-02 20:11:28 +01:00
fc9538fa6d Update sock_check to sock_has_pending 2023-01-02 19:56:29 +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
a4c0093fbe Small improvements 2023-01-02 15:43:26 +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
33feabdec0 Update server string Sesimos -> sesimos 2022-12-31 02:30:35 +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
a56002a409 More workers 2022-12-29 23:21:40 +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
672745f6df Delete client.h/.c 2022-12-29 11:47:59 +01:00
f9b3cc29ab Update logger to use format 2022-12-29 11:09:45 +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
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
a3c1ecc0bf Refactor uri.h 2022-12-15 17:53:49 +01:00