Commit Graph

96 Commits (16a3f3b6fc4dce10ff781d156b0296f708717d13)

Author SHA1 Message Date
Glenn Strauss 5863cb5752 defer choosing "Transfer-Encoding: chunked"
7 years ago
Glenn Strauss 4ef4baa59d http_response_backend_error()
7 years ago
Glenn Strauss 923688d2da drain backend socket/pipe bufs upon FDEVENT_HUP
7 years ago
Glenn Strauss 18a7b2be37 [core] option to stream response body to client (fixes #949, #760, #1283, #1387)
7 years ago
Glenn Strauss ddfae019cb separate routines for reading output from backends
7 years ago
Glenn Strauss f69f209e6d [core] option to stream request body to backend (fixes #376)
7 years ago
Glenn Strauss 53f550b290 [core] stream response to client (#949)
7 years ago
Glenn Strauss 5a91fd4b90 [core] buffer large responses to tempfiles (fixes #758, fixes #760, fixes #933, fixes #1387, #1283, fixes #2083)
7 years ago
Glenn Strauss 4059dcd60e [mod_fastcgi,mod_scgi] IPv6 support (fixes #2372)
7 years ago
Glenn Strauss 0a907c643b [mod_scgi] X-Sendfile feature (fixes #2253)
7 years ago
Glenn Strauss dbdab5dbc9 [core] server.error-handler new directive for error pages (fixes #2702)
7 years ago
Glenn Strauss 5492063f35 [core] set REDIRECT_STATUS to error_handler_saved_status (fixes #1828)
7 years ago
Glenn Strauss d7638b9b10 fix some warnings reported by static analysis tool
7 years ago
Glenn Strauss d0dc881d73 [doc] enhance error msg for backend server config
7 years ago
Glenn Strauss 2f21aaa973 handlers can read response before sending req body (fixes #131, #2566)
7 years ago
Glenn Strauss 7f942ce09a remove handle_joblist hook
7 years ago
Glenn Strauss 4b0c822ed0 always poll for client POLLHUP/POLLERR events (fixes #399)
7 years ago
Glenn Strauss 8f27ff8cd4 defer reading request body until handle subrequest
7 years ago
Glenn Strauss c263bc6a11 defer reading request body until handle subrequest (fixes #2541)
7 years ago
Glenn Strauss bbbbfb3de0 untangle overly complex control flow logic
7 years ago
Glenn Strauss 71ed1912c7 [config] server.listen-backlog option (fixes #1825, #2116)
7 years ago
Glenn Strauss c4edd35655 skip spawning backends for preflight tests (#2642)
7 years ago
Glenn Strauss 97556d992b [mod_fastcgi,mod_scgi] check for spawning on same unix socket (fixes #319)
7 years ago
Glenn Strauss 47f3dbebe4 use li_[iu]tostrn() instead of li_[iu]tostr()
7 years ago
Glenn Strauss f5453290b7 validate return values from strtol, strtoul (fixes #2564)
7 years ago
Glenn Strauss 8abd06a7ff consistent inclusion of config.h at top of files (fixes #2073)
7 years ago
Stefan Bühler c5a42e932f [mod_fastcgi,mod_scgi] fix leaking file-descriptor when backend spawning failed (reported by Fortify Open Review Project)
7 years ago
Kyle J. McKay b0ecb4d44b [mod_fastcgi/mod_scgi] zero sockaddr structs before use (fixes #2691)
7 years ago
Stefan Bühler c512345fa2 [config] check config option scope; warn if server option is given in conditional
7 years ago
Gaurav 5c5f67a5c7 add force_assert for many allocations and function results
8 years ago
Stefan Bühler 26226271de maintain cq->bytes_in in chunk API; keep bytes_out/bytes_in synced
8 years ago
Stefan Bühler 33cebeb0f7 fix segfaults in many plugins if they failed configuration
8 years ago
Stefan Bühler ad3e93ea96 Use buffer API to read and modify "used" member
8 years ago
Stefan Bühler 4365bdbebe Remove buffer_prepare_copy() and buffer_prepare_append()
8 years ago
Stefan Bühler 1be163b44a Remove chunkqueue_get_{append,prepend}* API
8 years ago
Stefan Bühler 6afad87d2e fix buffer, chunk and http_chunk API
8 years ago
Stefan Bühler efc41b2bb1 check length of unix domain socket filenames
9 years ago
Stefan Bühler 954184e949 [mod_scgi] use goto error for all error cases in mod_scgi_set_defaults
9 years ago
Stefan Bühler 07dd0bd0a5 add force_assert() to enforce assertions as simple assert()s are disabled by -DNDEBUG (fixes #2546)
9 years ago
Stefan Bühler fba7dd6f43 fix resource leaks in error cases on config parsing and other initializations
9 years ago
Stefan Bühler b461e031f5 [mod_fastcgi,mod_scgi] fix resource leaks on spawning backends
9 years ago
Stefan Bühler 6f208cfde1 fix/silence bugs reported by ccc-analyzer (clang)
9 years ago
Stefan Bühler 3863053b99 [mod_scgi] fix log typos
10 years ago
Stefan Bühler 559b198f86 [auth] put REMOTE_USER into cgi environment, making it accessible to lua via lighty.req_env (fixes #2495)
10 years ago
Stefan Bühler 05858f6cf2 [ssl] Fix $HTTP["scheme"] conditional, could be "http" for ssl connections if the ssl $SERVER["socket"] conditional was nested (fixes #2501)
10 years ago
Cyril Brulebois 0c6a564543 Fix non-ANSI function declarations.
11 years ago
Stefan Bühler 5677f17442 [mod_*cgi,mod_accesslog] Fix splitting :port with ipv6 (fixes #2333, thx simoncpu)
11 years ago
Stefan Bühler f434d514ad Limit amount of bytes we send in one go; fixes stalling in one connection and timeouts on slow systems.
12 years ago
Stefan Bühler adc97e5ba3 [*cgi] Use physical base dir (alias, userdir) as DOCUMENT_ROOT in cgi environments (fixes #2216)
12 years ago
Stefan Bühler 7e5b0fe9ab Rename fdevent_event_add to _set to reflect what the function does. Fix some handlers.
13 years ago