summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-06-25[core] allocate unix socket paths with SUN_LEN()+1 (fixes #2962)HEADpersonal/gstrauss/mastermasterGlenn Strauss1-3/+2
(thx lighthouse2) x-ref: "SUN_LEN in sock_addr.c (1.4.53, 1.4.54)" https://redmine.lighttpd.net/issues/2962
2019-06-06[core] correct __attribute_pure__ syntaxGlenn Strauss1-2/+2
2019-06-06[core] use buffer_eq_icase_ssn funcGlenn Strauss7-13/+11
specialized buffer_eq_icase_ssn func replace strncasecmp() in cases where string lengths are not known to be at least as large as the len being compared case-insensitively. (Separate commit in case any future changes modify the implementation to be unsafe for shorter strings, where strncasecmp() would stop at '\0' in either string)
2019-06-06[core] use buffer_eq_icase_ssn funcGlenn Strauss6-16/+17
specialized buffer_eq_icase_ssn func replace strncasecmp() in cases where string lengths are known to be at least as large as the len being compared case-insensitively
2019-06-06[core] cold func http_response_omit_header()Glenn Strauss1-17/+29
2019-06-06[mod_webdav] fix startup crash w/ multiple conds (fixes #2958)Glenn Strauss1-2/+2
(thx flynn) x-ref: "lighttpd 1.4.54 segfaults on start in mod_webdav" https://redmine.lighttpd.net/issues/2958
2019-06-06[core] mark some more funcs w/ __attribute_pure__Glenn Strauss2-4/+23
2019-06-06[multiple] replace strcasecmp() on short stringsGlenn Strauss3-8/+12
2019-06-06[core] use buffer_eq_icase* funcsGlenn Strauss4-20/+20
specialized buffer_eq_icase* funcs replace buffer_caseless_compare()
2019-06-06[core] mark some more funcs w/ __attribute_pure__Glenn Strauss2-0/+3
2019-06-06[core] specialized buffer_eq_*() for short stringsGlenn Strauss2-22/+47
specialized buffer_eq_*() funcs for use with short strings, e.g. case-insensitive comparison for equality
2019-06-06[core] array-specialized buffer_caseless_compare()Glenn Strauss1-1/+19
specialize buffer_caseless_compare() for array.c
2019-06-06[core] __attribute_pure__Glenn Strauss1-0/+9
2019-06-06[core] fix compile error on Solaris (fixes #2959)Glenn Strauss1-1/+1
(thx pyhalov) x-ref: "Release 1.4.54 does not compile on an Open Solaris clone" https://redmine.lighttpd.net/issues/2959
2019-05-27- next is 1.4.55Glenn Strauss4-4/+4
2019-05-27[doc] NEWSlighttpd-1.4.54Glenn Strauss1-0/+150
2019-05-27[mod_authn_ldap] ldap_set_option LDAP_OPT_RESTART (fixes #2940)Glenn Strauss2-0/+6
ldap_set_option LDAP_OPT_RESTART to handle EINTR on SIGCHLD from CGI (ldap uses poll(), which is not restartable with sigaction SA_RESTART) x-ref: "mod_authn_ldap/mod_cgi race condition, "Can't contact LDAP server"" https://redmine.lighttpd.net/issues/2940
2019-05-26[mod_maxminddb] MaxMind GeoIP2 supportGlenn Strauss8-0/+482
2019-05-18[core] adjust http_chunk read() retry loopGlenn Strauss1-1/+1
2019-05-14[mod_magnet] expose server addr (local IP) to luaGlenn Strauss1-0/+33
expose server addr (local IP) to lua via lighty.env["request.server-addr"] (read-only)
2019-05-13[core] use high precision stat timestamp on OS XGlenn Strauss1-0/+4
2019-05-13[tests] skip mod-secdownload HMAC-SHA1,HMAC-SHA256Glenn Strauss1-0/+11
skip mod-secdownload.t HMAC-SHA1, HMAC-SHA256 tests if crypto algorithms are not available (e.g. lighttpd build without openssl)
2019-05-13[tests] has_feature() helper funcGlenn Strauss1-0/+13
has_feature() helper func so that tests can be skipped if support is not present
2019-05-13[core] buffer_reset() should not be passed NULLGlenn Strauss1-6/+4
2019-05-13[core] chunkqueue perf: read small files into memGlenn Strauss3-6/+45
2019-05-13[core] chunkqueue perf: skip opening 0-length fileGlenn Strauss1-3/+11
2019-05-13[core] chunkqueue perf: specialized buffer.h funcsGlenn Strauss1-9/+20
2019-05-13[core] chunkqueue perf: code reuseGlenn Strauss5-99/+50
code reuse, simplification, and inlining remove excess calls to chunkqueue_remove_finished_chunks() (it may still be possible for there to be an empty chunk in chunkqueue if nothing were written to a temporary file (need to verify this), so preserve some calls to chunkqueue_remove_finished_chunks() for now)
2019-05-11[doc] systemd socket activation config exampleElan Ruusamäe3-1/+23
(minor edits by gstrauss) github: closes #96 x-ref: "doc/systemd: add example lighttpd.socket for systemd socket activation" https://github.com/lighttpd/lighttpd1.4/pull/96
2019-05-09[mod_webdav] invalidate parent dir in stat_cacheGlenn Strauss3-12/+42
invalidate directory in stat_cache when a new file or dir is created within that directory
2019-05-08[mod_webdav] doc Microsoft-WebDAV-MiniRedir bugsGlenn Strauss1-0/+3
2019-05-08[mod_webdav] workaround Microsoft-WebDAV-MiniRedirGlenn Strauss1-0/+28
workaround Microsoft-WebDAV-MiniRedir bugs
2019-05-08[core] check if splay_tree NULL before invalidateGlenn Strauss1-4/+5
2019-05-07[core] store log_state_handling flag on stackGlenn Strauss1-3/+4
2019-05-06[core] support weak etags with If-None-MatchGlenn Strauss3-9/+9
support weak etags with If-None-Match (but require strong etags for Range requests)
2019-05-06[mod_openssl] use SSL_CTX_set_client_hello_cb()Glenn Strauss1-22/+51
use SSL_CTX_set_client_hello_cb() when available (obsoletes SSL_CTX_set_tlsext_servername_callback() and SSL_CTX_set_tlsext_servername_arg())
2019-05-05[build] detect FreeBSD elftc_copyfile()Glenn Strauss6-7/+31
2019-05-05[scons] help scons on FreeBSD find sys/event.hGlenn Strauss1-9/+1
2019-05-05[cmake] help cmake on FreeBSD find sys/event.hGlenn Strauss1-0/+2
sys/event.h does not compile standalone, so check_include_files() fails Add compiler flags -include sys/types.h so that the compile check passes This allows cmake builds on FreeBSD to detect and use kqueue.
2019-05-04[stat_cache] fix compilation error for cmakeGlenn Strauss1-1/+1
2019-05-04[core] behavior change: stricter URL normalizationGlenn Strauss3-6/+2
behavior change: stricter URL normalization Prior behavior can be obtained by configuring lighttpd.conf with: server.http-parseopts = (“url-normalize” => “disable” ) although this is not recommended. This behavior change was pre-announced with the releases of lighttpd 1.4.52 (2018.11.28) lighttpd 1.4.53 (2019.01.27) The recommended settings are: server.http-parseopts = ( "header-strict" => "enable", "host-strict" => "enable", "host-normalize" => "enable", "url-normalize" => "enable", "url-normalize-unreserved" => "enable", "url-normalize-required" => "enable", "url-ctrls-reject" => "enable", "url-path-2f-decode" => "enable", "url-path-backslash-trans" => "enable", "url-path-dotseg-remove" => "enable", "url-query-20-plus" => "enable" ) The lighttpd defaults with this commit are slightly less strict: server.http-parseopts = ( "header-strict" => "enable", "host-strict" => "enable", "host-normalize" => "enable", "url-normalize" => "enable", "url-normalize-unreserved" => "enable", #"url-normalize-required" => "enable", "url-ctrls-reject" => "enable", "url-path-2f-decode" => "enable", #"url-path-backslash-trans" => "enable", "url-path-dotseg-remove" => "enable", #"url-query-20-plus" => "enable" )
2019-05-04[doc] highlight relevance of module load order (fixes #2946)Glenn Strauss1-4/+10
x-ref: "modules.conf order unhelpful (setenv vs. redirect)" https://redmine.lighttpd.net/issues/2946
2019-05-04[mod_webdav] quiet coverity warningsGlenn Strauss1-8/+11
2019-05-04[stat_cache] FAM: whitespace-only changeGlenn Strauss1-80/+80
whitespace-only changes in stat_cache_handle_fdevent_in()
2019-05-04[stat_cache] FAM: separate routine for FDEVENT_INGlenn Strauss1-5/+11
2019-05-04[stat_cache] FAM: improve monitoring, cache 16 secGlenn Strauss2-195/+360
improve FAM monitoring to use reference counting in internal cache revalidate entries upon use after 16 sec to recover from missed events (see comments in commit for more details about limitations)
2019-05-04[stat_cache] no longer stat() and open() for statGlenn Strauss2-28/+5
do not open file in stat_cache_get_entry() no longer stat() followed by open() and close() just for stat() callers should open() file to validate readability (and then reuse fd)
2019-05-04[multiple] open target file earlier in some casesGlenn Strauss3-30/+55
open target file earlier in some cases to validate readability
2019-05-04[core] http_chunk_append_file_fd()Glenn Strauss2-3/+7
2019-05-04[core] emit trace using path before clearing pathGlenn Strauss1-3/+3