Commit Graph

195 Commits (dd91c1459c2c98c75e6048b15b041f7619c1a917)

Author SHA1 Message Date
Glenn Strauss 1f23ba9adf [mod_cgi] X-Sendfile feature (fixes #2313) 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 7c0f8a775d [mod_cgi] asynchronous send of request body to CGI 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 f1681ca29b [mod_cgi] always set QUERY_STRING (fixes #1339) 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
Glenn Strauss dde7bea99a [mod_cgi] kill CGI if fail to write request body 7 years ago
Glenn Strauss f2cbd0a3aa [mod_cgi] simplify mod_cgi_handle_subrequest() 7 years ago
Glenn Strauss e5e66f791f [mod_cgi] consolidate CGI cleanup code 7 years ago
Glenn Strauss 94647804cf [mod_cgi] send 500 if CGI ends and there is no response (fixes #2542) 7 years ago
Glenn Strauss f23a24a263 [mod_cgi] issue trace and exit if execve() fails (closes #2302) 7 years ago
Glenn Strauss 665cc39b95 [mod_cgi] edge case chdir "/" when docroot "/" (fixes #2460) 7 years ago
Glenn Strauss 3fd80ff8ec [mod_cgi] use MAP_PRIVATE to mmap temporary file instead of MAP_SHARED (fixes #2715) 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 7 years ago
Stefan Bühler 912533cd68 [mmap] fix mmap alignment 7 years ago
Stefan Bühler 6d6dbadb14 [mod_cgi] rewrite mmap and generic (post body) send error handling 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 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 6afad87d2e fix buffer, chunk and http_chunk API 8 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 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
Cyril Brulebois 9c43331382 Use NULL instead of 0 where pointers are expected. 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) 11 years ago
Stefan Bühler 761bedd7fe [libev/cgi] fix waitpid ECHILD errors in cgi with libev (fixes #2324) 11 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 33e30b486a mod_cgi: make read buffer as big as incoming data block 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 13 years ago
Stefan Bühler 73e0bb2715 mod_cgi: fix race condition leaving response not forwarded to client (fixes #2217) 13 years ago
Stefan Bühler 85b1f6afd3 Fix fd leaks in mod_cgi (fds not closed on pipe/fork failures, found by Rodrigo, fixes #2158, #2159) 13 years ago
Stefan Bühler e21a83934e Fix mod_cgi cgi.execute-x-only option in global block 13 years ago
Stefan Bühler 22e8b456a9 Fix header inclusion order, always include "config.h" before any system header 13 years ago
Stefan Bühler 4df22f2a32 Fix issues found with clang analyzer 14 years ago
Stefan Bühler 3c11705903 Add "cgi.execute-x-only" to mod_cgi, requires +x for cgi scripts (fixes #2013) 14 years ago
Stefan Bühler fbdb305f8a Add server.breakagelog, a "special" stderr (fixes #1863) 14 years ago
Stefan Bühler a78acf99a1 Fix mod_cgi environment keys mangling (fixes #1969) 14 years ago
Stefan Bühler ecfdc60945 Fix SERVER_NAME port stripping (fixes #1968) 14 years ago
Stefan Bühler 2e823e8d14 Use server.tag for SERVER_SOFTWARE if configured (fixes #357) 14 years ago
Stefan Bühler 638ee6cad9 Add revision number to package version for svn/git checkouts 14 years ago