Commit Graph

714 Commits (327de98b38d84921e342422f34848a4f85a4da9c)

Author SHA1 Message Date
Glenn Strauss dc9f95c75d [mod_status] table w/ count of con states (fixes #2427)
7 years ago
Glenn Strauss c68f83aed4 [mod_status] page refresh option (fixes #2170)
7 years ago
Glenn Strauss 760baed402 [mod_expire] reset caching response headers for error docs (fixes #1919)
7 years ago
Glenn Strauss f4cb07f723 [mod_webdav] readdir POSIX compat (fixes #1826)
7 years ago
Glenn Strauss e5e5548b88 [mod_extforward] reset cond_cache for scheme (fixes #1499)
7 years ago
Glenn Strauss 659ce5e78e [mod_magnet] rename var for clarity (fixes #1483)
7 years ago
Glenn Strauss 4b412797b8 [mod_auth] send charset="UTF-8" in WWW-Authenticate (fixes #1468)
7 years ago
Glenn Strauss f1681ca29b [mod_cgi] always set QUERY_STRING (fixes #1339)
7 years ago
Glenn Strauss 97556d992b [mod_fastcgi,mod_scgi] check for spawning on same unix socket (fixes #319)
7 years ago
Glenn Strauss de08a135ea [core] clean up srv before exiting for lighttpd -[vVh]
7 years ago
Glenn Strauss 36ab0587c0 [stream] fstat() after open() to obtain file size
7 years ago
Glenn Strauss 47f3dbebe4 use li_[iu]tostrn() instead of li_[iu]tostr()
7 years ago
Glenn Strauss e5006d88eb pass buf size to li_tohex()
7 years ago
Glenn Strauss dac02e257c [mod_status] use snprintf() instead of sprintf()
7 years ago
Glenn Strauss ab829cee5e [mod_webdav] allow Depth: Infinity lock on file (fixes #2296)
7 years ago
Glenn Strauss d17d48e01e [stat] mimetype.xattr-name global config option (fixes #2631)
7 years ago
Glenn Strauss 292309f88b [core] lighttpd -tt performs preflight startup checks (fixes #411)
7 years ago
Jan Kneschke 9ae7813685 [core] fixed the loading for default modules if they are specified explicitly
7 years ago
Glenn Strauss 06d3c75440 [core] respond 411 Length Required if request has Transfer-Encoding: chunked (fixes #631)
7 years ago
Glenn Strauss f11089ed2b [core] wait for grandchild to be ready when daemonizing (fixes #2712, thx pasdVn)
7 years ago
Glenn Strauss 0aa2ea74e3 [mod_proxy] accept LF delimited headers, not just CRLF (fixes #2594)
7 years ago
Glenn Strauss b4a4afdaf7 [config] warn if server.upload-dirs has non-existent dirs (fixes #2508)
7 years ago
fbrosson a579e7ffc0 [mod_ssi] Add SSI vars SCRIPT_{URI,URL} and REQUEST_SCHEME (fixes #2721)
7 years ago
Stefan Bühler cc81f1f9dc add NEWS entry for previous commit
7 years ago
Stefan Bühler 0a61fdecac [buffer] refactor buffer_path_simplify (fixes #2560)
7 years ago
Stefan Bühler 92c3da847b [unittests] add test_buffer and test_base64 unit tests
7 years ago
Andrey Mnatsakanov 7b983ae054 [base64] fix crash due to broken force_assert
7 years ago
Stefan Bühler 5c68caa6d7 [core] replace array weakref with vector
7 years ago
Stefan Bühler 8455734f4a [core] add generic vector implementation
7 years ago
Glenn Strauss 8abd06a7ff consistent inclusion of config.h at top of files (fixes #2073)
7 years ago
Kyle J. McKay c92b1762ba [core] truncate pidfile on exit (fixes #2695)
7 years ago
Stefan Bühler 6f89a8bbef [core] fix request_start in keep-alive requests to mark time when received first byte (fixes #2412)
7 years ago
Stefan Bühler cfd13c7938 [autobuild] use AC_CANONICAL_HOST instead of AC_CANONICAL_TARGET (fixes #1866)
7 years ago
Stefan Bühler 06005655e6 [core] log remote address on request timeouts (fixes #652)
7 years ago
Stefan Bühler d8f4d20d9a restart (some) syscalls after SIGCHLD interrupted them; should fix LDAP problems (fixes #2464)
7 years ago
Stefan Bühler 00063098c1 [ssl] support disabling ssl.verifyclient.activate in SNI callback (fixes #2531)
7 years ago
Stefan Bühler 82ee3fb2f8 [mod_magnet] define lua_pushglobaltable (for lua5.1) and use it (fixes #2719)
7 years ago
Stefan Bühler 70036ff572 [core] accept $SERVER["socket"] without port, use server.port as fallback (fixes #2204)
7 years ago
Glenn Strauss d85bdab43f [core] more careful parse of $SERVER["socket"] config str (prepare #2204)
7 years ago
Glenn Strauss 43da581893 [core] configparser: error on duplicate keys in array merge (fixes #2685)
7 years ago
Stefan Bühler 68e4a416cc [core] provide array_extract_element and use it
7 years ago
Stefan Bühler e7a39cde36 [core] fix memory leak in configparser_merge_data
7 years ago
Stefan Bühler 224bf545c1 [core] refactor array search; raise array size limit to SSIZE_MAX
7 years ago
Stefan Bühler 8d8ae9cbc8 [core] improve array API to prevent theoretical memory leaks
7 years ago
Stefan Bühler c5a42e932f [mod_fastcgi,mod_scgi] fix leaking file-descriptor when backend spawning failed (reported by Fortify Open Review Project)
7 years ago
Stefan Bühler 2a8f73e7d4 [mod_secdownload] fix buffer overflow in secdl_verify_mac (reported by Fortify Open Review Project)
7 years ago
Stefan Bühler f3606dc539 [mod_dirlisting] dir-listing.hide-dotfiles = "enabled" by default (fixes #1081)
7 years ago
Stefan Bühler f56fe331e5 [mod_proxy] use case-insensitive comparision to filter headers, send Connection: Close to backend (fixes #421)
7 years ago
Glenn Strauss dde7bea99a [mod_cgi] kill CGI if fail to write request body
7 years ago
Glenn Strauss f2cbd0a3aa [mod_cgi] simplify mod_cgi_handle_subrequest()
7 years ago
Glenn Strauss e5e66f791f [mod_cgi] consolidate CGI cleanup code
7 years ago
Glenn Strauss 94647804cf [mod_cgi] send 500 if CGI ends and there is no response (fixes #2542)
7 years ago
Glenn Strauss c80ae9b212 [mod_fastcgi] 404 for X-Sendfile file not found (fixes #2474)
7 years ago
Stefan Bühler 02594f107a [plugins] don't include dlfcn.h if not needed (fixes #2548)
7 years ago
Glenn Strauss 75e4859a1b [mod_compress] case-insensitive content-codings (fixes #2645)
7 years ago
Stefan Bühler c033a1966e [core] improve conditional enabling (thx Gwenlliana, #2598)
7 years ago
Stefan Bühler ad65603ec0 [core] fix conditional cache handling
7 years ago
Glenn Strauss 1c01a42aa3 [core] never evaluate else branches until the previous branches are aready (fixes #2598)
7 years ago
Stefan Bühler 431559e5df [configparser] don't continue after parse error (fixes #2717)
7 years ago
Glenn Strauss f23a24a263 [mod_cgi] issue trace and exit if execve() fails (closes #2302)
7 years ago
Glenn Strauss 665cc39b95 [mod_cgi] edge case chdir "/" when docroot "/" (fixes #2460)
7 years ago
Glenn Strauss 5cc061bfab [core] do not send SIGHUP to process group unless server.max-workers is used (fixes #2711)
7 years ago
Glenn Strauss 3fd80ff8ec [mod_cgi] use MAP_PRIVATE to mmap temporary file instead of MAP_SHARED (fixes #2715)
7 years ago
Stefan Bühler 566cf8decb add force_assert for more allocation results
7 years ago
Stefan Bühler f3b577ddee use libmemcached instead of deprecated libmemcache
7 years ago
Stefan Bühler c354229f42 add handling for lua 5.2 and 5.3 (fixes #2674)
7 years ago
fbrosson d8e028e069 [mod_ssi] enhance support for ssi vars
7 years ago
Stefan Bühler 3dd2f66d13 - next is 1.4.40
7 years ago
Stefan Bühler 6ef3b709db [chunk] fix use after free / double free (fixes #2700)
7 years ago
Stefan Bühler 737d4f0f20 [core] fix memset_s call (fixes #2698)
7 years ago
Stefan Bühler 53c4ab8438 - next ist 1.4.39
7 years ago
Kyle J. McKay b37dd77491 [core] show correct crypt support result (fixes #2690)
7 years ago
Kyle J. McKay 159ca0c15d [network] add darwin-sendfile backend (fixes #2687)
7 years ago
Kyle J. McKay b0ecb4d44b [mod_fastcgi/mod_scgi] zero sockaddr structs before use (fixes #2691)
7 years ago
Stefan Bühler bfaa48260a [mod_secdownload] add required algorithm option; old behaviour available as "md5", new options "hmac-sha1" and "hmac-sha256"
7 years ago
Stefan Bühler 85d8a17575 [core] encode path with ENCODING_REL_URI in redirect to directory (fixes #2661, thx gstrauss)
7 years ago
Stefan Bühler 3943de280e [core] add '~' to safe characters in ENCODING_REL_URI/ENCODING_REL_URI_PART encoding
7 years ago
Stefan Bühler a069548370 [core] revert increase of temp file size back to 1MB, provide a configure option "server.upload-temp-file-size" instead (fixes #2680)
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 39add4476f [mod_secdownload] use a hopefully constant time comparison to check hash (fixes #2679)
8 years ago
Gaurav 5c5f67a5c7 add force_assert for many allocations and function results
8 years ago
Stefan Bühler f19128086c [core] don't buffer request bodies smaller than 64k on disk
8 years ago
Loganaden Velvindron d7be04beb5 [mod_auth] implement and use safe_memclear, using memset_s or explicit_bzero if available
8 years ago
Gaurav 37bdb250a4 [core] check configparserAlloc() result with force_assert
8 years ago
Stefan Bühler a93be99441 [core] fix search for header end if split across chunks (fixes #2670)
8 years ago
Stefan Bühler 3512b5cb77 [core] allocate at least 4k buffer for incoming data
8 years ago
Stefan Bühler 69f890e2c5 [stat-cache] fix handling of collisions, might have returned wrong data (fixes #2669)
8 years ago
Stefan Bühler d8b5492f5a -next is 1.4.38
8 years ago
Stefan Bühler dd4fe73c47 fix some warnings found by coverity ("leak" in setup phase, not catching too long unix socket paths in mod_proxy)
8 years ago
Stefan Bühler 0b02cd2690 [mmap] handle SIGBUS in network; those get triggered if the file gets smaller during reading
8 years ago
Stefan Bühler b66fa2cb68 [plugins] when modules are linked statically still only load the modules given in the config
8 years ago
Stefan Bühler 912533cd68 [mmap] fix mmap alignment
8 years ago
Stefan Bühler 6d6dbadb14 [mod_cgi] rewrite mmap and generic (post body) send error handling
8 years ago
Stefan Bühler 9257d7df4f [bsd xattr] fix compile break with BSD extended attributes in stat_cache
8 years ago
Stefan Bühler d7cd5b087a [autoconf] define HAVE_CRYPT when crypt() is present
8 years ago
Stefan Bühler e57a70174b [kqueue] fix kevent call
8 years ago
Stefan Bühler 0508bf674e fix some unchecked return value warnings
8 years ago
Stefan Bühler 593599f14a rewrite network (write) backends
8 years ago
Stefan Bühler fa8b154628 fix undefined integer shift
8 years ago
Stefan Bühler 5c5616e3e5 increase upload temporary chunk file size from 1MB to 16MB
8 years ago