Commit Graph

51 Commits (10f1490fb149ded95126462afb186635fe83733a)

Author SHA1 Message Date
Stefan Bühler 572681c9f1 fix hex escape in accesslog (fixes #2559) 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 6afad87d2e fix buffer, chunk and http_chunk API 8 years ago
Stefan Bühler 7bd0f54ab2 add some asserts to help static analyzers 9 years ago
Stefan Bühler 326f2fb8a4 [mod_accesslog] don't close fd -1 9 years ago
Stefan Bühler 9f2be4882d force assertion: setting FD_CLOEXEC must work (if available) 9 years ago
Stefan Bühler 6f208cfde1 fix/silence bugs reported by ccc-analyzer (clang) 9 years ago
Stefan Bühler c26b0f9617 [mod_accesslog] add accesslog.syslog-level option (fixes #2480) 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 7147c84671 [mod_accesslog] fix log buffer <-> log file mapping 9 years ago
Cyril Brulebois f4ba2d4f24 Mark some data as static. 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 ab0fa7d873 Fix access log escaping of " and \\ (fixes #1551) 11 years ago
Stefan Bühler 572f738f29 mod_accesslog: optimize accesslog_append_escaped (fixes #2236, thx crypt) 12 years ago
Stefan Bühler cece2fe3c6 mod_accesslog: Fix var declarations mixed in source (fixes #2233) 12 years ago
Stefan Bühler 48f1cf79b4 mod_accesslog: fix %p for ipv6 sockets (fixes #2228, thx jo.henke) 12 years ago
Stefan Bühler 6e035ae1cf mod_accesslog: support %e (fixes #2113, thx presbrey) 13 years ago
Stefan Bühler 6ecb86159c Fix accesslog escape segfault (#1551) 13 years ago
Stefan Bühler 069e848a0c mod_accesslog: escape special characters (fixes #1551, thx icy) 13 years ago
Stefan Bühler ea903c7512 mod_accesslog: configurable timestamp logging (fixes #1479) 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 1527160c69 Add support for pipe logging for server.errorlog (fixes #296) 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 96eb3cf47c Fix wrong malloc sizes in mod_accesslog (probably nothing bad happened...) (fixes #1855, thx ycheng) 14 years ago
Stefan Bühler 21c5377d3f Use FD_CLOEXEC if possible (fixes #1821) 14 years ago
Stefan Bühler 227d6f1b56 Fix format string bugs with sizeof(int)!=sizeof(size_t) in mod_accesslog for SYSLOG 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 25c7c7f3f8 fixed typo in mod_accesslog, localtime instead of localtime_r (#1699) 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 f9999e286e Disable logging to access.log if filename is an empty string 15 years ago
Stefan Bühler 79a6ae3fd4 Fix accesslog port (should be port from the connection, not the "server.port") (#1618) 15 years ago
Jan Kneschke 768a0d0eab fixed type-cast for NULL in execl() (fixes #1235), fix provided by Frank 16 years ago
Jan Kneschke 642247c353 - fixed various crashes at startup on broken accesslog.format strings 16 years ago
Jan Kneschke 3c5c8ef54d fixed accesslog.use-syslog in a conditional and the caching of the 16 years ago
Marcus Rückert 8cd1471cb3 - white space cleanup part 2 this time 1.4 ;) 16 years ago
Jan Kneschke de2196c142 don't append a \n for syslog() (fixes #481) 17 years ago
Jan Kneschke 1022432a1e added %I for bytes_in 17 years ago
Xuefer 949ab7685e stupid SEGV introduced in [679] 17 years ago
Xuefer 363301ccf3 added 'V' for HTTP_HOST, updated default accesslog format. 17 years ago
Jan Kneschke 962d936d94 don't die if accesslog file is not set 17 years ago
Jan Kneschke df688f7de0 pipe and syslog need each log-entry by itself 17 years ago
Jan Kneschke bac9212c8f fixed possible uninit variables of the config-parser fails (merged [183]) 17 years ago
Jan Kneschke c8408d015c removed setup_connection (merged [295]) 17 years ago
Jan Kneschke adcc83d26f cleaned up the errorlog writing, default is now stderr, syslog is requested explicitly 17 years ago
Jan Kneschke cdffac9fa6 fixed segfaults in error-msgs if syslog() is failing 17 years ago
Jan Kneschke 01afa1ca5b don't segfault on cleanup if the startup failed 18 years ago
Jan Kneschke e1fb43d9dd fixed NULL dereference in logfile cycling if accesslog is not set 18 years ago
Jan Kneschke bde657648d compile fixes for MIPSpro on IRIX 18 years ago