179 Commits (4a51d2ab8ccfa8f8da476da100963c1b26b5b67f)

Author SHA1 Message Date
Glenn Strauss dbdab5dbc9 [core] server.error-handler new directive for error pages (fixes #2702) 6 years ago
Glenn Strauss 5492063f35 [core] set REDIRECT_STATUS to error_handler_saved_status (fixes #1828) 6 years ago
Glenn Strauss d7638b9b10 fix some warnings reported by static analysis tool 6 years ago
Glenn Strauss d0dc881d73 [doc] enhance error msg for backend server config 6 years ago
Glenn Strauss 2f21aaa973 handlers can read response before sending req body (fixes #131, #2566) 6 years ago
Glenn Strauss 7f942ce09a remove handle_joblist hook 6 years ago
Glenn Strauss 4b0c822ed0 always poll for client POLLHUP/POLLERR events (fixes #399) 6 years ago
Glenn Strauss 8f27ff8cd4 defer reading request body until handle subrequest 6 years ago
Glenn Strauss c263bc6a11 defer reading request body until handle subrequest (fixes #2541) 6 years ago
Glenn Strauss bbbbfb3de0 untangle overly complex control flow logic 6 years ago
Glenn Strauss 71ed1912c7 [config] server.listen-backlog option (fixes #1825, #2116) 6 years ago
Glenn Strauss a65c57a548 [core] open fd when appending file to cq (fixes #2655) 6 years ago
Glenn Strauss c4edd35655 skip spawning backends for preflight tests (#2642) 6 years ago
Glenn Strauss 97556d992b [mod_fastcgi,mod_scgi] check for spawning on same unix socket (fixes #319) 6 years ago
Glenn Strauss 47f3dbebe4 use li_[iu]tostrn() instead of li_[iu]tostr() 6 years ago
Glenn Strauss f5453290b7 validate return values from strtol, strtoul (fixes #2564) 6 years ago
Glenn Strauss 733ce38203 [http_auth/mod_fastcgi] check get_http_*_name() for NULL return (#2583) 6 years ago
Glenn Strauss 8abd06a7ff consistent inclusion of config.h at top of files (fixes #2073) 6 years ago
Stefan Bühler 8d8ae9cbc8 [core] improve array API to prevent theoretical memory leaks 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
Glenn Strauss c80ae9b212 [mod_fastcgi] 404 for X-Sendfile file not found (fixes #2474) 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
Stefan Bühler 26226271de maintain cq->bytes_in in chunk API; keep bytes_out/bytes_in synced 7 years ago
Stefan Bühler cfaa78ebc5 check fcgi_env_add return value (found by coverity) 7 years ago
Stefan Bühler 33cebeb0f7 fix segfaults in many plugins if they failed configuration 7 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 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 29a1070299 add comments for switch fall throughs 9 years ago
Stefan Bühler b461e031f5 [mod_fastcgi,mod_scgi] fix resource leaks on spawning backends 9 years ago
Stefan Bühler fc3a060a04 [mod_fastcgi] fix use after free (only triggered if fastcgi debug is active) 9 years ago
Stefan Bühler 6f208cfde1 fix/silence bugs reported by ccc-analyzer (clang) 9 years ago
Stefan Bühler 559b198f86 [auth] put REMOTE_USER into cgi environment, making it accessible to lua via lighty.req_env (fixes #2495) 9 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) 9 years ago
Stefan Bühler 0e48ef6acb [mod_fastcgi,log] support multi line logging (fixes #2252) 10 years ago
Stefan Bühler 9cd8faa1b6 mod_fastcgi: fix mix up of "mode" => "authorizer" in other fastcgi configs (fixes #2465, thx peex) 10 years ago
Cyril Brulebois 0c6a564543 Fix non-ANSI function declarations. 10 years ago
Stefan Bühler 5677f17442 [mod_*cgi,mod_accesslog] Fix splitting :port with ipv6 (fixes #2333, thx simoncpu) 10 years ago
Stefan Bühler 7187271fb6 [auth] Add "AUTH_TYPE" environment (for *cgi), remove fastcgi specific workaround, add fastcgi test case (fixes #889) 10 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. 11 years ago
Stefan Bühler 59ebf3c818 fix some gcc warnings 11 years ago
Stefan Bühler adc97e5ba3 [*cgi] Use physical base dir (alias, userdir) as DOCUMENT_ROOT in cgi environments (fixes #2216) 11 years ago
Stefan Bühler 955fd0d08f [mod_fastcgi]: remove unused var "last_used" 12 years ago
Stefan Bühler 7e5b0fe9ab Rename fdevent_event_add to _set to reflect what the function does. Fix some handlers. 12 years ago
Stefan Bühler 38f2d1ddd7 cleanup fdevent code, removed linux-rtsig handler, replaced some fprintf calls 12 years ago