Commit Graph

120 Commits (875a21c952882fe084e5f84f4c05adb464edc15d)

Author SHA1 Message Date
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
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) 15 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) 15 years ago
Stefan Bühler 52861d77df Replace buffer_{append,copy}_string with the _len variant where possible (#1732, thx crypt) 15 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) 16 years ago
Jan Kneschke 41e836b410 fixed extracting status code from NPH scripts (fixes #1125) 16 years ago
Jan Kneschke dc4879473f removed debug msg 16 years ago
Jan Kneschke f0333c8c0d fixed crash on mixed \r\n and \n sequences 16 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