Commit Graph

54 Commits

Author SHA1 Message Date
0232331f99 Fix reverse proxy timeout issues 2023-09-08 02:51:57 +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
c59977dada Fix proxy unlocking 2023-07-06 00:29:12 +02:00
7fe4abd379 Improve proxy error handling 2023-07-04 21:40:40 +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
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
6f0371c46f Use getaddrinfo/getnameinfo instead of deprecated methods 2023-01-29 20:31:27 +01:00
7a3adc6ed3 Remove gotos from proxy.c 2023-01-26 18:06:53 +01:00
9ee0e11c86 Remove some gotos 2023-01-26 17:15:30 +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
5f3ba2b971 Add sock_init() 2023-01-23 23:35:53 +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
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
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
4814035b62 Fix echo Makefile bug 2023-01-12 11:47:48 +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
487386158d Remove most memory leaks with valgrind 2023-01-11 17:50:11 +01:00
764b754a6f Add more utils 2023-01-11 11:06:36 +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
0a1fb977d6 Diversifying HTTP statuses 2023-01-08 01:37:45 +01:00
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
c67edd4195 Close all connections on exit 2023-01-04 00:40:09 +01:00
f8d3253a9f Fix reverse proxy error 2023-01-03 14:52:36 +01:00
fc9538fa6d Update sock_check to sock_has_pending 2023-01-02 19:56:29 +01:00
abb40a659c Fix proxy pointer arithmetic 2022-12-31 11:44:52 +01:00
1547805e4c Add sock_set_timeout() 2022-12-31 01:36:24 +01:00