Commit Graph

220 Commits

Author SHA1 Message Date
62b631c862 Fix FastCGI Non-Chunked bug 2023-09-08 02:18:52 +02:00
0f526d7b95 Fix FastCGI error handling 2023-07-13 23:18:10 +02:00
91a8959c8d Add FIXME for pipe overflow 2023-07-11 02:12:26 +02:00
745509cab1 Add debug message when joining mpmc workers 2023-07-11 01:50:36 +02:00
29a0775bf5 Update proxy 504/502 error codes responses (3) 2023-07-07 22:30:03 +02:00
46d661d5f3 Update proxy 504/502 error codes responses (2) 2023-07-07 22:24:40 +02:00
9ec1c1c3a2 Update proxy 504/502 error codes responses 2023-07-07 22:23:15 +02:00
d6b315c91c Update proxy closing behaviour 2023-07-07 22:13:47 +02:00
ddb6623651 Handle connection closures from proxy peers in async 2023-07-07 21:56:38 +02:00
ef3e8475fb Honor Connection: closed received from reverse proxy peers 2023-07-07 21:30:56 +02:00
0cd63ff5e9 Fix typos 2023-07-07 21:28:07 +02:00
de3fcf8fc3 Honor proxy server timeout with one second buffer 2023-07-06 17:15:53 +02:00
0f40dcb5db Fix proxy_close to keep value of in_use 2023-07-06 14:57:06 +02:00
b7c8db01ac Fix proxy locking by adding volatile keyword to in_use 2023-07-06 12:03:08 +02:00
c59977dada Fix proxy unlocking 2023-07-06 00:29:12 +02:00
371bff0d07 Fix async and FastCGI timeout issues 2023-07-05 23:19:40 +02:00
2e3146f69a Fix FastCGI fds default value 2023-07-05 13:11:49 +02:00
733b73760c Fix payload usage in first FastCGI frame 2023-07-05 12:52:53 +02:00
a9fbd21f80 Add todo and fix comments 2023-07-05 00:42:06 +02:00
52ebad201f Fix sock_had_pending for pipe 2023-07-04 22:00:09 +02:00
7fe4abd379 Improve proxy error handling 2023-07-04 21:40:40 +02:00
56427e3003 Close ssl also when enc is not set in socket 2023-07-04 21:16:27 +02:00
914aa2d341 Fix socket.h sock_init() definition 2023-07-03 00:03:27 +02:00
f1ba02756a Output selected proxy slot 2023-07-02 22:52:12 +02:00
0b68c67982 Fix proxy try-loop 2023-07-02 17:45:53 +02:00
cb04af739c Fix nextcloud issues 2023-07-02 13:50:07 +02:00
13d6e30d01 Fix proxy loop 2023-07-02 12:21:26 +02:00
04f13c49af Unset socket now is -1 instead of 0 2023-07-02 12:21:00 +02:00
9aee302f6c Rename timeout to http_timeout 2023-07-02 00:14:39 +02:00
44e3b1332f Add first steps to honor timeout from server as proxy 2023-07-01 21:50:33 +02:00
808ebdb0a0 Add http_add_to_header_fiel() 2023-07-01 21:19:27 +02:00
31cd2e7e73 Fix FastCGI segfault error 2023-07-01 20:21:21 +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
ab7e5cc722 Remove dns_server directive 2023-01-29 11:55:32 +01:00
40310faa4b Update error to support getaddrinfo 2023-01-29 11:38:48 +01:00
7a3adc6ed3 Remove gotos from proxy.c 2023-01-26 18:06:53 +01:00
bd73061462 Removing gotos in config.c 2023-01-26 17:31:20 +01:00
9ee0e11c86 Remove some gotos 2023-01-26 17:15:30 +01:00
03dd126ca7 Add php error handling 2023-01-26 14:51:47 +01:00
17327006db Add async support for FastCGI 2023-01-26 13:34:04 +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
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
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
c8b605aa90 Save proxy connection time 2023-01-13 02:59:48 +01:00