Commit Graph

58 Commits (1eef447d329f436aa5838954310121ae5928f95c)

Author SHA1 Message Date
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 73e0bb2715 mod_cgi: fix race condition leaving response not forwarded to client (fixes #2217) 12 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 13 years ago
Stefan Bühler 3c11705903 Add "cgi.execute-x-only" to mod_cgi, requires +x for cgi scripts (fixes #2013) 13 years ago
Stefan Bühler fbdb305f8a Add server.breakagelog, a "special" stderr (fixes #1863) 13 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
Stefan Bühler 1527160c69 Add support for pipe logging for server.errorlog (fixes #296) 14 years ago
Stefan Bühler ff5c18bee8 Check for regular file in mod_cgi, so we don't try to start directories 14 years ago
Stefan Bühler def70d86e9 Remove the optional port info from SERVER_NAME (thx Mr_Bond) 14 years ago
Stefan Bühler 63f785a2f8 Added some extra warning options in cmake and fix the resulting warnings (unused/static functions) 14 years ago
Stefan Bühler 90bfe20bf5 Fix mod_cgi segfault when bound to unix domain socket (#653) 14 years ago
Stefan Bühler b8835ab9a8 Allow digits in [s]cgi env vars (#1712) 14 years ago
Stefan Bühler ad12e4c5b2 Insert many con->mode checks; they should prevent two modules to handle the same request if they shouldn't (#631) 14 years ago
Stefan Bühler 52861d77df Replace buffer_{append,copy}_string with the _len variant where possible (#1732, thx crypt) 14 years ago
Stefan Bühler 93e7167f84 Implement a clean way to open /dev/null and use it to close stdin/out/err in the needed places (#624) 15 years ago
Stefan Bühler 8dd78e06c7 Handle EINTR in mod_cgi during write() (#1640) 15 years ago
Stefan Bühler c065f36bc1 r2136@chromobil: stefan | 2008-02-28 22:18:14 +0100 15 years ago
Jan Kneschke 830bb59d86 don't report the "cgi died ?" in case we killed the dangling CGI process 15 years ago
Jan Kneschke 51826fc05c renamed ltostr() to LI_ltostr() to fix compile on HP/UX (fixes #465) 15 years ago
Jan Kneschke 41e836b410 fixed extracting status code from NPH scripts (fixes #1125) 15 years ago
Jan Kneschke dc4879473f removed debug msg 15 years ago
Jan Kneschke f0333c8c0d fixed crash on mixed \r\n and \n sequences 15 years ago
Marcus Rückert ba424e2293 - fix the previous commit 16 years ago
Marcus Rückert b3f333d32e - add HTTPS=on to the environment of cgi scripts (#861) 16 years ago
Marcus Rückert 8cd1471cb3 - white space cleanup part 2 this time 1.4 ;) 16 years ago
Jan Kneschke 1982fda295 - close unused pipe-fds as soon as possible to generate a SIGPIPE if the remote end dies. 17 years ago
Jan Kneschke ba50f7fbfc don't terminate the request, just ignore it 17 years ago
Jan Kneschke 562f5c8e1f mod_scgi was illegally returning HANDLER_ERROR which cause a running cgi-request to be terminated. 17 years ago
Jan Kneschke 433f1883ac improved performance of env-creation and added DOCUMENT_ROOT to the env 17 years ago
Jan Kneschke 6e193e4040 make AIX happy and include fcntl.h instead of sys/fcntl.h (fixes #417) 17 years ago
Jan Kneschke d35482ee9a fixed typo (and next time I should at least compile before commiting) 17 years ago
Jan Kneschke 4de36723c0 cleanup the connection-internals at the end of the of the response and not at the end of the connection 17 years ago
Jan Kneschke 2cc4f96765 fixed streaming cgi output (like cgi-irc) 17 years ago
Jan Kneschke a4be52451f more unsigned/sign compare fixes 17 years ago
Jan Kneschke 95132d93c8 fixed warnings about unused vars and unhandled enum-values in switch() 17 years ago
Jan Kneschke 1c09f28447 removed con->request.content (mem-buffer) by a chunk-queue 17 years ago
Jan Kneschke ff8637dee0 call create-env only for the first match. (for #220) 17 years ago
Jan Kneschke 9db5407390 HANDLER_GO_ON results in HANDLER_FINISHED later even if the we only received the header yet which is a bit too early. 17 years ago
Jan Kneschke 2bc0d28842 wait for the cgi response before we send the HTTP header 17 years ago
Jan Kneschke c5249103fd sol10 needs them 17 years ago
Jan Kneschke bac9212c8f fixed possible uninit variables of the config-parser fails (merged [183]) 17 years ago
Jan Kneschke cd4c324ff2 allow numbers in header-keys 17 years ago
Jan Kneschke c8408d015c removed setup_connection (merged [295]) 17 years ago