Glenn Strauss
28f1867c11
quiet clang analyzer scan-build warnings
...
(expansion of buffer_string_lenth() inline function and CONST_BUF_LEN()
macro, which always check for NULL, appears to cause the analyzer to
believe that a pointer might be NULL in cases where it otherwise can
not be NULL)
x-ref:
http://clang-analyzer.llvm.org/faq.html
2 years ago
Glenn Strauss
c2a9692e78
[tests] include first.h and NDEBUG early
4 years ago
Glenn Strauss
c98d89a4bb
[tests] #undef NDEBUG before assert.h in t/test_*
4 years ago
Glenn Strauss
6ccccaaa38
[tests] move src/test_*.c to src/t/
4 years ago
Glenn Strauss
da6b2dc1b6
[core] quiet coverity false positive
5 years ago
Glenn Strauss
1367f60626
[core] isolate sock_addr manipulation
5 years ago
Glenn Strauss
31011adda9
[core] mv log_error_{open,cycle.close} to server.c
5 years ago
Glenn Strauss
a9970fec23
[core] consolidate fork()/execve() code ( #1393 )
...
(refactoring work to address issue #1393 )
x-ref:
"access log pipe writer should restart child process if it exits"
https://redmine.lighttpd.net/issues/1393
5 years ago
Glenn Strauss
8641d1b03f
[core] no SOCK_CLOEXEC on Linux kernel < 2.6.27
...
Linux kernels < 2.6.27 (old!) might return EINVAL if SOCK_CLOEXEC used
x-ref:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529929
http://www.linksysinfo.org/index.php?threads/lighttpd-no-longer-starts-toastman-1-28-0510-7.73132/
5 years ago
Glenn Strauss
ba953cdf45
[core] include "fdevent.h" where needed
...
(instead of providing #include "fdevent.h" in base.h)
5 years ago
Glenn Strauss
879a282de7
fix errors detected by Coverity Scan
...
fd leak in mod_dirlisting.c
use after free in error condition in mod_proxy.c
NULL pointer dereference in error message in chunk.c
additional minor code changes made to quiet other coverity warnings
6 years ago
Glenn Strauss
873eaf3f4a
minor: fix compiler warning for extra ';'
6 years ago
Glenn Strauss
bed63b7962
[core] support IPv6 in $HTTP["remote-ip"] CIDR cond match ( fixes #2706 )
...
x-ref:
"Matching IPv6 addresses with $HTTP["remoteip"]"
https://redmine.lighttpd.net/issues/2706
github: closes #52
6 years ago