Commit Graph

58 Commits (b482bfd1b881f0f5aee24c470a082e0ab785e505)

Author SHA1 Message Date
Glenn Strauss 72b133f595 fix errors detected by Coverity Scan
7 years ago
Glenn Strauss c463860451 minor: quiet some compiler warnings
7 years ago
Glenn Strauss 45021708bf [mod_accesslog] report aborted con state with %X (fixes #1890)
7 years ago
Glenn Strauss 292309f88b [core] lighttpd -tt performs preflight startup checks (fixes #411)
7 years ago
Glenn Strauss 8abd06a7ff consistent inclusion of config.h at top of files (fixes #2073)
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 0508bf674e fix some unchecked return value warnings
8 years ago
Stefan Bühler 572681c9f1 fix hex escape in accesslog (fixes #2559)
8 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 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)
10 years ago
Stefan Bühler 559b198f86 [auth] put REMOTE_USER into cgi environment, making it accessible to lua via lighty.req_env (fixes #2495)
10 years ago
Stefan Bühler 7147c84671 [mod_accesslog] fix log buffer <-> log file mapping
10 years ago
Cyril Brulebois f4ba2d4f24 Mark some data as static.
11 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)
13 years ago
Stefan Bühler cece2fe3c6 mod_accesslog: Fix var declarations mixed in source (fixes #2233)
13 years ago
Stefan Bühler 48f1cf79b4 mod_accesslog: fix %p for ipv6 sockets (fixes #2228, thx jo.henke)
13 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)
14 years ago
Stefan Bühler 069e848a0c mod_accesslog: escape special characters (fixes #1551, thx icy)
14 years ago
Stefan Bühler ea903c7512 mod_accesslog: configurable timestamp logging (fixes #1479)
14 years ago
Stefan Bühler 22e8b456a9 Fix header inclusion order, always include "config.h" before any system header
14 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
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 25c7c7f3f8 fixed typo in mod_accesslog, localtime instead of localtime_r (#1699)
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 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 ;)
17 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
18 years ago
Xuefer 949ab7685e stupid SEGV introduced in [679]
18 years ago
Xuefer 363301ccf3 added 'V' for HTTP_HOST, updated default accesslog format.
18 years ago
Jan Kneschke 962d936d94 don't die if accesslog file is not set
18 years ago
Jan Kneschke df688f7de0 pipe and syslog need each log-entry by itself
18 years ago