Commit Graph

206 Commits

Author SHA1 Message Date
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
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
add135b3ad Use htons and ntohs in fastcgi 2023-01-12 20:40:40 +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
5138dafb8e Refactor compress a bit 2023-01-12 16:30:10 +01:00
d7db1f0be9 Make error_str GNU_SOURCE compliant 2023-01-12 15:24:30 +01:00
f42ac83323 Add list_contains() to list 2023-01-12 15:07:03 +01:00
7d576b2466 Better lossy error code description 2023-01-12 13:13:24 +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
15f400f376 Add status_code_t in http.h 2023-01-12 10:22:27 +01:00
32638fdd91 Fix list_remove() 2023-01-12 10:21:57 +01:00
07d6280864 Fix list pointer bug in proxy 2023-01-12 01:58:14 +01:00