Commit Graph

47 Commits

Author SHA1 Message Date
2a2c1ea442 socket: Honor EAGAIN for socket operations 2023-11-19 21:27:42 +01:00
de3fcf8fc3 Honor proxy server timeout with one second buffer 2023-07-06 17:15:53 +02:00
2e3146f69a Fix FastCGI fds default value 2023-07-05 13:11:49 +02:00
52ebad201f Fix sock_had_pending for pipe 2023-07-04 22:00:09 +02:00
56427e3003 Close ssl also when enc is not set in socket 2023-07-04 21:16:27 +02:00
cb04af739c Fix nextcloud issues 2023-07-02 13:50:07 +02:00
04f13c49af Unset socket now is -1 instead of 0 2023-07-02 12:21:00 +02:00
6f0371c46f Use getaddrinfo/getnameinfo instead of deprecated methods 2023-01-29 20:31:27 +01:00
ad6ffe5425 Use file descriptor in sock_set_socket_timeout_micros() 2023-01-29 11:57:37 +01:00
f7a6214dbc Allow proxies to delay chunks 2023-01-26 12:46:30 +01:00
8053439212 Add chunk send/receiving functions 2023-01-26 11:41:10 +01:00
299e726341 Add pip abstraction for sock 2023-01-26 11:02:44 +01:00
5f3ba2b971 Add sock_init() 2023-01-23 23:35: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
44fc7f2e5c Add flags to sock_splice_chunked 2023-01-23 01:50:50 +01:00
e8655102b9 Use sock in fastcgi 2023-01-13 02:36:41 +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
5acab8144d Rework error interface 2023-01-12 12:54:23 +01:00
c36ad8c113 Add global error handling 2023-01-09 01:07:02 +01:00
4ff22bd0c6 Handle timeouts in epoll 2023-01-08 22:19:16 +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
300e3dc0aa Botch sock_strerror 2023-01-02 22:12:34 +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
535e1add96 Make errno in sock transparent 2023-01-02 17:03:39 +01:00
1547805e4c Add sock_set_timeout() 2022-12-31 01:36:24 +01:00
2969e435d1 Small fixes 2022-12-29 17:02:57 +01:00
f9b3cc29ab Update logger to use format 2022-12-29 11:09:45 +01:00
2937bdaded Add logger 2022-12-10 20:48:47 +01:00
206ae3264d Hopefully fix bug 2022-11-11 02:18:01 +01:00
5e050512ad Fix sock_recv return handling 2022-11-10 23:51:57 +01:00
89a9d4b9d6 Fix chunked splicing 2022-11-10 20:21:25 +01:00
1859c432c8 Fix chunked 2022-10-21 00:01:11 +02:00
b30f9fa56d Implement Transfer-Encoding chunked for requests 2022-10-20 23:10:07 +02:00
63b1ca5d6a Update file header comments 2022-10-20 22:03:46 +02:00
bb895c5bca Fix WebSocket connection close handling 2022-08-27 14:01:33 +02:00
2b4569aabe Rename Necronda server to Sesimos 2022-08-18 14:17:12 +02:00
c92742275a Implement WebSocket reverse proxy 2022-08-18 03:07:54 +02:00
041e4d43a7 Code style 2022-08-17 22:35:51 +02:00
170337d4d5 Do not use select() anymore 2022-08-17 22:34:01 +02:00
0648c75baa Refactor code a bit 2022-08-16 22:06:50 +02:00
171bca55fa Fixed reverse proxy timeout 2021-11-12 15:16:09 +01:00
30b163c6fa Small fixes 2021-05-07 19:57:40 +02:00
d130474989 Refactor for shared library use 2021-05-03 20:10:23 +02:00