168 Commits (a65c57a54812fa44a8e1b6e846f69ac6e314f5d1)

Author SHA1 Message Date
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) 7 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
Stefan Bühler c6c8ad2ac7 mod_fastcgi: Send 502 "Bad Gateway" if we couldn't open the file for X-Sendfile (fixes #2226) 12 years ago
Stefan Bühler d58fea0c7a Fix parsing of fastcgi.debug option on big-endian (fixes #2230) 12 years ago
Stefan Bühler d601017b75 mod_fastcgi: x-sendfile2 parse error debugging 13 years ago
Stefan Bühler 2eaf42d0e5 mod_fastcgi: Don't reconnect after connect() succeeded (fixes #2096) 13 years ago
Stefan Bühler 781784664a mod_fastcgi: fix mod_fastcgi packet parsing 13 years ago
Stefan Bühler 987110317f Fix broken return values from int to enum in mod_fastcgi 13 years ago
Stefan Bühler 19838e99eb mod_fastcgi: Fix host->active_procs counter, return 503 if connect wasn't successful after 5 tries (fixes #1825) 13 years ago
Stefan Bühler 8c83976dbe mod_fastcgi: Add "X-Sendfile2" - supporting multiple ranged files (fixes #2008) 13 years ago
Stefan Bühler b9f5f1de8c Fix mod_fastcgi bin-path check 13 years ago
Stefan Bühler fd13e94427 mod_fastcgi: restart local procs immediately after they terminated, fix local procs handling 13 years ago
Stefan Bühler 925a5ed5c4 mod_fastcgi: fix is_local detection, respawn backends if bin-path is set (fixes #897) 13 years ago