1 2==== 3NEWS 4==== 5 6- 1.4.69 - 2023-02-10 7 * [meson] remove t/test_mod_evasive.c 8 * [doc] remove references to removed modules 9 * [cmake] add doc/CMakeLists.txt to dist tar ball (#3181) 10 * [meson] add meson.build to install man pages (fixes #3181) 11 * [meson] fix typo in sbindir 12 * [core] update ls-hpack 13 * [cmake] remove -I/usr/include/mysql for mysql.h (#3181) 14 * [cmake] add -DWITH_LUA_VERSION= to specify lua ver (#3181) 15 * [cmake] use mysql_config cflags and ldflags (#3181) 16 * [cmake] do not link with fam if inotify or kqueue 17 * [TLS] fix spurious warning trace (fixes #3182) 18 * [multiple] codespell: correct spelling in comments 19 * [multiple] spelling: github action check-spelling 20 * [lemon] upgrade LEMON parser to SQLite maint ver 21 * [build] modify arguments to updated LEMON parser 22 * [core] build configparser.y w/ -Werror workarounds 23 * [lemon] fix -Wpendantic warnings for bad casts 24 * [core] avoid accept4() on ARM unless detected 25 * [cmake] use CMAKE_CURRENT_SOURCE_DIR 26 * [cmake] SERVER_SRC variable 27 * [multiple] quiet some coverity false positives 28 * [cmake] use LIGHTTPD_MODULES_DIR as relative path (fixes #3185) 29 * [core] add missed h2 state transition (fixes #3186) 30 * [core] remove cygwin O_NOFOLLOW workaround 31 * [multiple] clang -Wstrict-prototypes for C2x 32 * [core] reset SIGUSR1 to SIG_DFL before execve() 33 * [mod_webdav] modify OPTIONS response if no db cfg 34 * [mod_webdav] MOD_WEBDAV_BUILD_MINIMAL preproc opt 35 * [core] pass fdn to fdevent_sched_close,_unregister 36 * [core] disable sendfile() on TARGET_OS_IPHONE 37 * [core] iOS does not provide netinet/tcp_fsm.h 38 * [core] move headers to help isolate fdevent layer 39 * [core] avoid select() FD_ISSET repeat on active fds 40 * [core] gw_backend more precise backend env alloc 41 * [core] fdevent_poll_poll avoid potential race 42 * [tests] quickly exit tests/request.t if GET / fail 43 * [tests] adjust outdated opt in tests/lighttpd.conf 44 * [autotools] add mod_evhost to static build list 45 * [autotools] skip modules build if LIGHTTPD_STATIC 46 * [mod_cgi] cygwin supports CGI file I/O redirection 47 * [mod_dirlisting] use fdevent_rename() wrapper 48 * [core] path-info in debug trace may be unset 49 * [core] reset path-info for cgi.local-redir 50 * [autotools] fix typo in -I used --with-pcre2=/path (fixes #3190) 51 * [mod_webdav] send 409 Conflict if PUT miss parent 52 * [core] fix HTTP/2 HEADERS frame parsing bug 53 * [core] remove extra HTTP/2 HEADERS frame len check 54 55- 1.4.68 - 2023-01-03 56 * [cmake] compile lemon with native cc for x-compile 57 * [cmake] install man pages with CMake 58 * [cmake] let CMake handle the version number 59 * [cmake] set LIGHTTPD_VERSION_ID per version 60 * [meson] set LIGHTTPD_VERSION_ID per version 61 * [meson] add missing meson_version 62 * [meson] use feature options 63 * [meson] turn pcre into a combo option 64 * [meson] simplify header checking 65 * [meson] add wrapdb instructions 66 * [lighttpd-angel] waitpid after HUP before restart 67 * [core] use inotify_init() if missing IN_* defines 68 * [core] keep sockets w/ server.graceful-restart-bg 69 * [TLS] ssl.openssl.ssl-conf-cmd "DHParameters" 70 * [mod_wolfssl] check for cert must_staple 71 * [mod_mbedtls] config renegotiation;not recommended 72 * [mod_alias] fix typo in config error message 73 * [mod_proxy,mod_cgi] fix dummy Sec-WebSocket-Key 74 * [mod_wolfssl] cast to fix compile error 75 * [TLS] try DER format if reading PEM format fails 76 * [mod_openssl] libressl 3.6.0 ASN1_TIME_cmp_time_t 77 * [mod_deflate] skip cache for Cache-Control: private,no-store 78 * [mod_webdav] minor cleanups and adjustments 79 * [core] http_response_body_clear clears body flags 80 * [core] ignore server.max-worker = 1 81 * [doc/scripts/cert-staple.sh] *BSD date portability 82 * [doc/scripts/cert-staple.sh] short-circuit checks 83 * [doc/scripts/cert-staple.sh] add copyright header 84 * [meson] fix wrong array 85 * [meson] replace most has_function calls with loop 86 * [meson] use non string true/false 87 * [meson] use files() 88 * [meson] remove use of non-existent win32 xgetopt.c 89 * [meson] update comment for opts w/ type 'feature' 90 * [core] fix crash for invalid lighttpd.conf (fixes #3175) 91 * [build] do not check for pthread.h 92 * [cmake] use find_package() to include the PkgConfig module 93 * [cmake] use GNUInstallDirs to set defaults for several directories 94 * [cmake] use FindOpenSSL cmake module to search for OpenSSL 95 * [cmake] remove wolfssl code that would already be handled by CMake 96 * [cmake] improve searching for PostgreSQL 97 * [cmake] remove needless arguments from xconfig macro 98 * [cmake] prefer libpcre.pc over pcre-config 99 * [cmake] use CMake's provided FindZLIB 100 * [cmake] use CMake's provided FindBZip2 101 * [cmake] remove path hints where CMake searches by default 102 * [cmake] remove use of non-existent win32 xgetopt.c 103 * [mod_openssl] mod_openssl_write_err() shared code 104 * [mod_openssl] use SSL_sendfile() if KTLS available 105 * [mod_gnutls] use gnutls_record_send_file() if KTLS 106 * [TLS] handle '+' on ssl-conf-cmd "Options" 107 * [TLS] upgrade default cipher list to stronger set 108 * [TLS] simplify TLS config; remove deprecated opts 109 * [multiple] remove deprecated modules 110 * [mod_magnet] remove lighty.r.req_attr["response.*"] 111 * [core] remove libev fdevent option (ignore) 112 * [core] _WIN32 impl of plugins_load() 113 * [core] check for built-in plugins before dlopen 114 * [core] build core modules into lighttpd executable 115 * [core] reduce M_TOP_PAD to default on small system 116 * [multiple] mark mod_*_plugin_init() funcs cold 117 * [core] check ifndef NDEBUG before setting NDEBUG 118 * [core] server_main_setup_signals() separate func 119 * [core] server_main_setup_workers() separate func 120 * [core] server_main_setup() variable scoping 121 * [core] ck_calloc() ck_malloc() ck_realloc_u32() 122 * [multiple] employ ck_realloc_u32() shared code 123 * [core] mark gw_proc_free() cold 124 * [core] use data_config_list for config 125 * [build] omit unused vector.[ch] from build 126 * [mod_wstunnel] store value in tmp before byteswap 127 * [core] log_buffer_vsprintf tweaks 128 * [multiple] employ ck_calloc, ck_malloc shared code 129 * [core] create non-inlined vector_resize() 130 * [lighttpd-angel] remove unused includes 131 * [core] chunk.c tweaks 132 * [core] config_check_cond_nocache_eval() tweak 133 * [mod_openssl] CLOSE_NOTIFY handling with KTLS 134 * [mod_wolfssl] match mod_openssl CLOSE_NOTIFY 135 * [core] ignore config dir-listing.* if not enabled 136 * [doc] default lighttpd.conf: omit server.use-ipv6 137 * [lighttpd-angel] simplify 138 * [tests] disable auth.delay-invalid-creds for tests 139 * [mod_deflate] "deflate" should include zlib header 140 * [tests] fix "deflate" tests for added zlib header 141 * [tests] disable Nagle on client, remove sleeps 142 * [core] save ptr to avoid static analyzer realloc warn 143 * [core] wrap server_main_setup_workers w/ HAVE_FORK 144 * [core] temporarily disable O_NOFOLLOW on Cygwin 145 146- 1.4.67 - 2022-09-17 147 * Update comment about TCP_INFO on OpenBSD 148 * [mod_ajp13] fix crash with bad response headers (fixes #3170) 149 * [core] handle RDHUP when collecting chunked body 150 * [core] tweak streaming request body to backends 151 * [core] handle ENOSPC with pwritev() (#3171) 152 * [core] manually calculate off_t max (fixes #3171) 153 * [autoconf] force large file support (#3171) 154 * [multiple] quiet coverity warnings using casts 155 * [meson] add license keyword to project declaration 156 157- 1.4.66 - 2022-08-07 158 * [core] h2: optim: send window update in 16k units 159 * [mod_magnet] reset for http-response-send-file 160 * [multiple] fix json encoding 161 * [core] buffer_append_bs_escaped_json() 162 * [autoconf] update ax_prog_cc_for_build.m4 163 * [doc] add libdeflate to INSTALL 164 * [mod_webdav] cold func if xml reqbody w/o db conf 165 * [mod_webdav] check reqbody Content-Type is XML 166 * [doc] more consistent use of vars in examples 167 * [core] do not load indexfile, dirlisting if unused 168 * [mod_dirlisting] send ETag, Cache-Control w/ cache 169 * [mod_openssl] compile compat w/ openssl < 1.1.0 170 * [mod_webdav] webdav_reqbody_type_xml() fixes 171 * [core] clarify server.username = "root" error msg 172 * [mod_wolfssl] compat with older wolfssl versions 173 * [core] fix li_base64_dec() on whitespace 174 * [core] perf tweak buffer_eq_icase_ssn() 175 * [mod_deflate] fix use of libdeflate for files>128k (fixes #3161) 176 * [core] fix buffer_substr_replace() extend (fixes #3160) 177 * [mod_webdav] build with Android NDK 178 * [core] check r->http_status before handling Range 179 * [core] preprocessor option to force crypto lib 180 * [core] fix SIGUSR1 graceful restart w/ TLS (fixes #3164) 181 * [mod_authn_gssapi] warn if no confidentiality flag (fixes #3163) 182 * [mod_wstunnel] fix crash with bad hybivers (fixes #3165) 183 * [core] perf: adjust max h2 stream send increment 184 * [core] fix HTTP/2 downloads >= 4GiB (fixes #3166) 185 186- 1.4.65 - 2022-06-07 187 * [build] meson: fix typo in variable name 188 * [build] autoconf: report if building with zstd 189 * [build] meson -Dlua_version=... to specify lua ver 190 * [core] avoid CCRandomGenerateBytes on MacOS <10.12 (fixes #3140) 191 * [core] use diff var name w/ CCRandomGenerateBytes (fixes #3141) 192 * [core] parse conf cmds with SHELL or /bin/sh 193 * [core] fix HMAC with openssl 3.0 194 * [mod_webdav] no COPYFILE_CLONE_FORCE on OSX <10.12 (fixes #3142) 195 * [mod_deflate] fix to return 304 with If-None-Match (fixes #3143) 196 * [core] Illumos epoll incompatible w/ lighttpd impl 197 * [core] feature flag to allow Range w/ HTTP/1.0 198 * [mod_mbedtls] set usekeysize for mbedtls 3.2.0+ 199 * [mod_deflate] collect mmap code 200 * [mod_deflate] prototype using libdeflate w/ mmap 201 * [mod_deflate] --with-libdeflate to use libdeflate 202 * [mod_deflate] mark input bytes const 203 * [core] sys-setjmp.[ch] 204 * [mod_magnet] check lighty.result.content b4 setjmp 205 * [core] include guard consistency in sys-time.h 206 * [core] network_write_file_chunk_remap separate fn 207 * [multiple] use new sys_setjmp_eval3() interface 208 * [multiple] pedantic chunk.c checks for 0-len chunk 209 * [multiple] shared code for struct chunk and mmap 210 * [mod_deflate] use pread if available 211 * [mod_deflate] improve loop compressing file chunk 212 * [core] prep server_tag at startup for h2 resp hdr 213 * [mod_magnet] defer req_env init unless needed 214 * [mod_magnet] reset after error attaching content 215 * [mod_magnet] lua_tointegerx() avoids raising error 216 * [mod_mbedtls] use newer mbedtls 3.2.0+ interfaces 217 * [mod_magnet] adjust hot path for more inlining 218 * [mod_magnet] collect chk for magnet lua_State init 219 * [mod_magnet] use type returned from lua_getfield() 220 * [core] chunk_file_pread() to wrap pread() 221 * [core] disable keep-alive if forcing HTTP/1.0 resp 222 * [mod_magnet] use lua_getextraspace() to store r 223 * [core] fall back to getauxval(AT_RANDOM), if avail 224 * [mod_magnet] keep message handler on stack 225 * [doc] update external links 226 * [mod_magnet] pass lighty table index, defer pops 227 * [mod_magnet] clear and reuse script-env table 228 * [mod_magnet] clear stack when reloading script 229 * [mod_magnet] use lua_isnoneornil() in interfaces 230 * [mod_magnet] fix lighty.c.cookie_tokens() 231 * [mod_magnet] fix lighty.c.urldec_query() 232 * [mod_magnet] remove duplicated NULL checks 233 * [mod_magnet] adjust magnet_lighty_result_get() 234 * [mod_magnet] magnet_tmpbuf_acquire(),release() 235 * [mod_magnet] lighty.c.quotedenc(),dec() funcs 236 * [mod_magnet] fix header,content legacy table clear 237 * [mod_cgi] cgi.local-redir request_reset thru fnptr 238 * [core] isolate plugins_*() funcs to main server 239 * [mod_wolfssl] wolfssl v5.0.0 defines DH_set0_pqg() 240 * [mod_auth] save letter-case diff in require config 241 * [mod_magnet] magnet_push_quoted_string shared code 242 * [mod_magnet] lighty.c.header_tokens convenience fn 243 * [core] fill in un.sun_path after accept() (fixes #3147) 244 * [mod_extforward] adjust trust check for HTTP/2 245 * [mod_proxy] adjust handling of legacy X-* headers 246 * [core] permit env w/ blank value (fix regression) 247 * [TLS] consistent debug.log-ssl-noise config type 248 * [mod_magnet] allow removal of req_env elt via nil 249 * [core] compiler workarounds for very old gcc,glibc 250 * [mod_mbedtls] use newer mbedtls 3.2.0+ interfaces 251 * [mod_ssi] check http_chunk_transfer_cqlen for err 252 * [core] chunkqueue_steal() handle unexpected 0 len 253 * [core] discard DATA from REFUSED_STREAM at h2 init 254 * [multiple] WebSockets over HTTP/2 (fixes #3151) 255 * [multiple] immed connect to backend for streaming 256 * [core] ensure socket ready before checking connect 257 * [core] reduce trace on Upgrade backend connection 258 * [core] adjust when TCP_CORK used on TLS connection 259 * [mod_cgi] disable input optim if might Upgrade 260 * [mod_cgi] immed start CGI if Upgrade 261 * [mod_wolfssl] wolfssl v5.0.0 adds ASN1_TIME_diff() 262 * [mod_openssl] libressl v3.5.0 adds ASN1_TIME_diff 263 * [TLS] warn if leaf cert read is inactive/expired 264 * [core] stricter conformance w/ upcoming HTTP/2 rev 265 * [build] -D_DEFAULT_SOURCE consistency in builds 266 * [mod_extforward] support addtl IPv6 syntax w/ "[]" 267 * [core] build fix for cygwin and lmingw 268 * [core] short-circuit earlier parsing h2 trailers 269 * [core] reformat h2.h for cleaner enum additions 270 * [core] consolidate trace for log-state-handling 271 * [core] request_config bitmasks for smaller struct 272 * [core] prefix (=^), suffix (=$) config conditions (fixes #3153) 273 * [core] tighten config parsing loop 274 * [core] convert simple config cond regex to pre/sfx 275 * [tests] able to run tests when built w/o pcre 276 * [core] allow redirect,rewrite ext subst w/o pcre 277 * [mod_sockproxy] reset http vers, avoid rare crash (fixes #3152) 278 * [core] HTTP/2 PRIORITY_UPDATE frame (experimental) 279 * [core] send HTTP/2 SETTINGS_NO_RFC7540_PRIORITIES 280 * [core] stricter check of HTTP/2 GOAWAY frame size 281 * [mod_mbedtls] use newer mbedtls 3.2.0+ interfaces 282 * [mod_webdav] opt for partial PUT via copy/rename 283 * [core] quiet compiler warning 284 * [multiple] recognize HTTP QUERY method 285 * [multiple] limit scope of socket config options 286 * [core] fix config typo reading large int from str 287 * [core] h2 prio sort urgency, incr, then stream id 288 * [core] send Priority resp hdr w/ .css, .js re-prio 289 * [multiple] reset http vers, avoid rare crash (fixes #3152) 290 * [core] delay response to http auth invalid creds 291 * [core] connection_state_machine_h2 only if con->h2 292 * [core] default server.max-keep-alive-requests 1000 293 * [mod_magnet] set script env in func first upvalue 294 * [mod_magnet] rewrite lighty.r as table of userdata 295 * [mod_status] con->h2 instead of r->http_version 296 * [mod_setenv] cleanup user-provided hdr sloppiness 297 * [core] remove func decls duplicated in plugin.h 298 * [mod_status] fix counting of HTTP/2 bytes written 299 * [mod_magnet] no local server port on unix domain 300 * [mod_extforward] unix domain socket pedantic chks 301 * [core] sketch support for abstract sockets 302 * [mod_magnet] magnet_plugin_stats_table() fn 303 * [mod_magnet] magnet_script_setup_global_state() fn 304 * [mod_magnet] lighty.server.* table w/ new function 305 * [mod_accesslog] do not double-count hdr len in %I 306 * [mod_magnet] reduce magnet_env_get_id() scanning 307 * [mod_magnet] tighten magnet_env_get_buffer_by_id() 308 * [mod_status] reusable code for r->state strings 309 * [core] reusable code for r->state strings 310 * [mod_magnet] expose r->state to lua scripts 311 * [mod_magnet] tighten magnet_env_set() 312 * [mod_magnet] lighty.r.req_item[] accessors 313 * [mod_magnet] expose r->keep_alive to lua scripts 314 * [mod_magnet] lighty.c.hrtime high-resolution time 315 * [mod_magnet] lighty.r.resp_body.get 316 * [mod_magnet] deprecate r.req_attr["response.*] 317 * [mod_magnet] separate funcs for uri_path_raw 318 * [mod_magnet] lighty.c.stat high precision time 319 * [mod_magnet] format multiline err traceback 320 * [mod_magnet] adjust p->conf.stage checks 321 * [mod_magnet] further isolate legacy API result tbl 322 * [core] buffer_append_char() convenience func 323 * [mod_accesslog] accesslog.escaping = "json" 324 * [multiple] use buffer_append_char() 325 * [mod_accesslog] remove begin/end tags from %{}t 326 * [core] fix configparser_simplify_regex() comment 327 * [multiple] simplify bytes_in/bytes_out accounting 328 * [mod_accesslog] reorder fields in switch() 329 * [core] remove unused srv->con_* counters 330 * [mod_magnet] read-only access to r->server_name 331 * [core] buffer_append_bs_escaped() 332 * [core] buffer_append_string_c_escaped ASCII optim 333 * [mod_magnet] backspace-escape encode/decode 334 * [mod_status] display HTTP/2 control stream w/ reqs 335 * [multiple] use preferred syntax for Content-Type 336 * [doc] regenerate doc/config/conf.d/mime.conf 337 * [multiple] rename status_counter -> plugin_stats 338 * [core] feature-flag server.metrics-high-precision 339 * [mod_magnet] quiet coverity false positive 340 * [mod_wolfssl] compile fix for OpenWRT 341 * [mod_webdav] If-None-Match: * on non-existent 342 * [mod_magnet] r.req_body .collect .get .set .add 343 * [mod_cgi] fix detection of failing error handler (fixes #3157) 344 * [core] "url-invalid-utf8-reject" normalization opt 345 * [mod_magnet] skip req body collect warn if modsec3 346 * [build] update descriptions to remove old lua ver 347 * [core] use current dir if context->basedir blank 348 * [multiple] application/javascript text/javascript 349 * [core] reset internal flags after graceful restart 350 * [TLS] inherit ssl.engine from global scope 351 * [core] avoid server.use-ipv6 warning after SIGUSR1 352 * [mod_webdav] alt handling PROPFIND on collection 353 * [mod_mbedtls] fix crt chain construction logic 354 * [core] h2 SETTINGS_INITIAL_WINDOW_SIZE 64k (fixes #3089) 355 * [core] increase session window size to 256k 356 * [core] h2: avoid sending small WINDOW_UPDATE frames 357 * [core] h2: avoid sending tiny DATA frames 358 * [core] update cached tables with Priority header 359 * [tests] test stubs for http_header.c and http_kv.c 360 361- 1.4.64 - 2022-01-19 362 * [core] fix trace issued for loading mod_auth (fixes #3121) 363 * [meson] need -lrt with glibc < 2.17 (fixes #3120) 364 * [core] adjust time jump detection (fixes #3123) 365 * [core] make setrlimit() warn, not fatal 366 * [core] add remote IP to some error msgs (fixes #3122) 367 * [mod_webdav] If-None-Match on non-existent entity 368 * [build] check getxattr before attr_get and -lattr 369 * [doc] SELinux: setsebool -P httpd_setrlimit on 370 * [build] create sha512sum file with release 371 * [build] CI builds now use make -j 2 372 * [core] http_response_send_file() takes const path 373 * [core] use ETag response header to check cachable 374 * [core] add more const to stat_cache_update_entry() 375 * [multiple] remove r->physical.etag 376 * [mod_magnet] interface to http_response_send_file 377 * [build] add headers for sendfile() detect on MacOS 378 * [core] http_response_write_prepare optimization 379 * [core] define static_assert for uClibc (fixes #3127) 380 * [build] -Wno-implicit-fallthrough for ls-hpack 381 * [core] ignore pcre2 "bad JIT option" warning 382 * [build] pcre2: use pkg-config before pcre2-config 383 * [core] http_response_has_error_handler() 384 * [core] consolidate request restart loop check 385 * [core] defer retrieving Last-Modified until needed 386 * [mod_dirlisting] fix logic inversion in cache 387 * [core] mark expect cond in http_response_send_file 388 * [core] connection_handle_read_state() tweak 389 * [core] connection_state_machine_loop() tweaks 390 * [core] connection_state_machine_h2() tweaks 391 * [core] quiet coverity noise 392 * [core] use lower limit for max-fds if !setrlimit 393 * [build] do not check for prctl; HAVE_PRCTL unused 394 * [core] server.core-files support on FreeBSD (fixes #3128) 395 * [mod_extforward] support longer PROXY v2 TLV vec 396 * [mod_webdav] detect truncated copy_file_range() 397 * [mod_webdav] copy_file_range() new in FreeBSD 13 398 * [mod_webdav] copy_file_range() new in FreeBSD 13 399 * [build] feature consistency between build types 400 * [build] cmake build now defaults to C11 401 * [core] CCRandomGenerateBytes() for rand on macOS (fixes #3129) 402 * [multiple] remove long-deprecated modules 403 * [build] default --with-pcre2 unless --with-pcre 404 * [core] "server.graceful-shutdown-timeout" => 8 405 * [build] adjust trace for regex-conditionals 406 * [build] update tests/SConscript 407 * [core] errno_t detection on Illumos 408 * [build] cmake build now defaults to C11 409 * [build] meson: find pcre2 w/o pkg-config 410 * [core] define __EXTENSIONS__ on Illumos 411 * [build] cmake,meson socket libs for win32, Illumos (fixes #3130) 412 * [core] hide bsd_accept_filter code on OpenBSD (fixes #3131) 413 * [core] errno_t and rsize_t detection on Illumos 414 * [mod_webdav] copy acceleration 415 * [mod_webdav] define HAVE_RENAMEAT2 earlier 416 * [build] meson misdetects mempcpy on some platforms 417 * [build] cmake: skip "-Wl,-export-dynamic" Illumos 418 * [build] adjust .gitignore for macOS 419 * [build] meson crypt and dl detection on *BSD (fixes #3133) 420 * [core] /dev/null is a symlink on Illumos (fixes #3132) 421 * [core] server.core-files support for solaris (fixes #3135) 422 * [build] feature consistency between build types 423 * [build] Haiku build fix (fixes #3136) 424 * [lemon] silence coverity warnings 425 * [cmake] raise minimum version to 3.7 426 * [cmake] add address/undefined sanitize compile options 427 * [asan tests] fix memory leaks 428 * [array] use speaking names for array "fn" vtables for better debugging experience 429 * [ci] add cmake-asan build type 430 * [core] buffer_copy_string() use "" if s is NULL 431 * [mod_authn_gssapi] code reuse: fdevent_mkostemp() 432 * [mod_authn_gssapi] reduce KRB5CCNAME mem alloc 433 * [build] adjust help strings for pcre2 default 434 * [core] (const char *) for srvconf.modules_dir 435 * [multiple] remove buffer_init_string() 436 * [multiple] remove buffer_init_buffer() 437 * [mod_extforward] fix out-of-bounds (OOB) write (fixes #3134) 438 * [build] use -fstack-protector-strong w/ extra warn 439 * [build] collect Sun-specific headers and funcs 440 * [build] collect Sun-specific headers and funcs 441 * [build] rm redundant check for -lnetwork on Haiku 442 * [build] check headers before some funcs 443 * [core] allow LISTEN_PID to be ppid if TRACEME (fixes #3137) 444 * [core] allow tests/tmp/bind.conf override (#3137) 445 * [mod_webdav] no sys/ioctl.h on _WIN32 446 * [tests] _WIN32 adjustments in LightyTest.pm 447 * [tests] revert _WIN32 adjustments in LightyTest.pm 448 * [mod_gnutls] lift size check out of DN loop 449 * [mod_mbedtls] lift size check out of DN loop 450 * [mbedtls] save (mbedtls_ssl_config *) in hctx 451 * [multiple] permit UTF-8 in SSL_CLIENT_S_DN_* 452 * [mod_openssl] do not esc UTF-8 in cert subject 453 * [mod_mbedtls] reconstruct SSL_CLIENT_S_DN 454 * [mod_mbedtls] changes to build with mbedtls 3.0.0 455 * [mod_mbedtls] remove use of out_left in mbedtls 3 456 * [mod_mbedtls] mbedtls_ssl_conf_groups for 3.1.0 457 458- 1.4.63 - 2021-12-04 459 * [core] import xxHash v0.8.1 460 * [core] isolate use of sys/filio.h 461 * [core] fix reqpool mem corruption in 1.4.62 (fixes #3118) 462 463- 1.4.62 - 2021-12-01 464 * [mod_alias] fix use-after-free bug (fixes #3114) 465 * [core] clean up fdlog_st and log_error_st decls 466 * [core] 'struct log_error_st' -> 'log_error_st' 467 * [core] remove redundant asserts 468 * [core] explicitly include sys/cdefs.h 469 * [tests] t/test_mod_ssi 470 * [core] fdevent_socket_nb_cloexec_init() 471 * [core] fdevent_impl.c separate from fdevent.c 472 * [core] merge fdevent impls into fdevent_impl.c 473 * [core] fdevent_fdnode.c separate from fdevent.c 474 * [core] close backend socket fds more quickly 475 * [core] use TCP_CORK w/ TLS if cq length > 16k 476 * [core] warn if dynamic modules before mod_auth 477 * [mod_cgi] check fd-to-cgi not -1 before close 478 * [core] libev EV_ERROR conflicts with kqueue 479 * [tests] disable test_mod_ssi in cmake (temporary) 480 * [tests] disable test_mod_ssi in cmake (temporary) 481 * [tests] reenable test_mod_ssi in cmake 482 * [core] run plugin cleanup hooks in reverse 483 * [core] fix removal of server.pid-file when testing (fixes #3115) 484 * [doc] improve sample configs 485 * [doc] expand vhosts.template 486 * [doc] improve sample configs 487 * [core] use ck_assert() in vector.[ch] 488 * [tests] mod_ssi tests moved to src/t/test_mod_ssi 489 * [mod_ssi] 0-init ssi_val_t in ssi_ctx_t 490 * [mod_ssi] fix ancient bugs; replace cond parser 491 * [mod_ssi] remove mod_ssi parser generator file 492 * [mod_ssi] merge mod_ssi_expr.c into mod_ssi.c 493 * [core] uint_fast32_t tweaks 494 * [core] better asm for binary num to ascii string 495 * [tests] t/test_mod now runs all t/test_mod_*.c 496 * [tests] t/test_mod_alias.c 497 * [tests] remove unused mod from tests/lighttpd.conf 498 * [mod_evasive] smaller funcs for testing 499 * [tests] t/test_mod_evasive.c 500 * [mod_evasive] update comment to add references 501 * [tests] combine tests into test_common.c 502 * [core] get_http_method_key() tweak 503 * [mod_dirlisting] check for disabled cache at start 504 * [core] buffer_append_string_encoded_json() 505 * [mod_dirlisting] (experimental) json (disabled) 506 * [tests] t/test_mod needs -ldl on Debian 507 * [core] save config regex captures only if used 508 * [core] save pcre result state in config_pcre_match 509 * [core] use stack w/ pcre_exec unless save captures 510 * [core] extend pcre_keyvalue_ctx to pass more state 511 * [core] pcre2 support (--with-pcre2) 512 * [core] allocate one fewer cond_match_t, if needed 513 * [core] allocate pcre output vector on demand 514 * [build] configure.ac with AC_PROG_CC_C99 (fixes #3116) 515 * [build] CI builds now use pcre2 (upgrade pcre) 516 * [core] fix compiler warning in 32-bit build 517 * [build] fix CMake pcre2 detection 518 * [mod_auth] RFC7616 HTTP Digest username* userhash 519 * [mod_dirlisting] fix bug not showing HEADER.txt 520 * [tests] t/test_mod_ssi adjust to follow symlinks 521 * [mod_auth] quiet coverity warning 522 * [doc] refresh/update dependency lists in doc 523 * [core] fix crash when using lighttpd -1 with pipes (fixes #3117) 524 525- 1.4.61 - 2021-10-28 526 * [core] define __BEGIN_DECLS, __END_DECLS if needed 527 * [core] Y2038: error log high-precision timestamps 528 * [multiple] __attribute_nonnull__ now takes params 529 * [core] bounds check while url-decoding 530 * [mod_magnet] prefer lua_newuserdatauv() w/ lua 5.4 531 * [core] earlier macOS need define for errno_t (fixes #3107) 532 * [tests] force POSIX::WNOHANG() autovivification (fixes #3110) 533 * [mod_dirlisting] sort "../" to top (fixes #3109) 534 * [tests] force Fcntl::F_SETFD() autovivification (#3110) 535 * [core] avoid repeated typedef for fdlog_st 536 * [doc] update INSTALL 537 * [mod_extforward] keep remote IP thru request reset 538 * [core] fix HTTP/2 upload > 64k w/ max-request-size (fixes #3108) 539 * [mod_auth] fix Basic auth passwd cache (fixes #3112) 540 * [mod_ajp13,mod_fastcgi] comment: no response body 541 * [mod_webdav] ignore PROPFIND Depth for files 542 * [core] add comment to ck_memeq_const_time() 543 * [core] accept up to 5 digit port num in host cond 544 * [core] expose chunkqueue_remove_empty_chunks() 545 * [core] short-circuit if response body recv w/ hdrs (fixes #3111) 546 * [core] resched HTTP/2 streams w/ pending data (#3111) 547 * [core] separate func for gw_authorizer_ok() 548 * [core] make ck_memeq_const_time() more generic (#3112) 549 * [mod_auth] revert adjustment to auth passwd cache (#3112) 550 * [core] thwart h2c smuggling when Upgrade enabled 551 * [core] separate funcs to check for valid chars 552 * [core] thwart h2 request tunnelling 553 * [core] clear shared log buffer after writes 554 * [mod_nss] quiet trace for PR_END_OF_FILE_ERROR 555 * [core] allow debug.log-state-handling in condition 556 * [core] combine more dup header processing code 557 * [mod_ajp13,mod_fastcgi] check resp w/ content len 558 * [mod_proxy] Length Req if proxy forcing HTTP/1.0 559 * [core] restart dead proc on connect error if local 560 * [mod_ajp13,mod_fastcgi] recv_parse smaller funcs 561 * [multiple] warn deprecated mods slated for removal 562 * [core] remove redundant checks in same context 563 * [core] tighten chunkqueue_steal* code; better asm 564 * [build] check for preadv(), pwritev() 565 * [core] pwritev w/ chunkqueue_steal_with_tempfiles 566 * [core] tighten chunkqueue_mark_written; better asm 567 * [doc] uncomment mod_auth load in conf.d/auth.conf 568 * [core] tighten chunkqueue_small_resp_optim() 569 * [core] chunkqueue_small_resp_optim if resp < 16k 570 * [mod_auth] clear crypt() output if len >= 13 571 * [multiple] add assert after malloc in two spots 572 * [core] add HTTP/2 check resp finished w/ empty cq (#3111) 573 * [core] chunkqueue_small_resp_optim() comment 574 575- 1.4.60 - 2021-10-03 576 * [meson] add with_zstd to meson_options.txt 577 * [mod_magnet] reject stat() of empty string (fixes #3064) 578 * [mod_magnet] avoid infinite loop in atpanic (fixes #3065) 579 * [mod_magnet] do not call luaL_error outside pcall (#3065) 580 * [core] 101 upgrade fails if Content-Length incl (fixes #3063) 581 * [mod_gnutls,mod_mbedtls] recog common cipherstring 582 * [tests] remove stray option in test lighttpd.conf 583 * [mod_auth] close HTTP/2 connection after bad pass 584 * [build] fix SCons pkg-config err handling (fixes #3066) 585 * [core] inline funcs to decode h2 framing nums (fixes #3067) 586 * [build] use -pipe with gcc and clang 587 * [mod_mbedtls] preproc wrap ssl_parse_client_hello 588 * [build] augment configure.ac msgs to remove FAM (#3068) 589 * [core] allow '*' in "*:80" socket spec 590 * [core] rename local var 591 * [core] mark config registration funcs cold 592 * [core] fix -fsanitize=undefined pedantic warning (fixes #3069) 593 * [core] algo_hmac.[ch] wrapper (portability) 594 * [mod_secdownload] use algo_hmac.[ch] 595 * [mod_secdownload] use http_auth_const_time_memeq() 596 * [autoconf] add ajp13 to build msgs 597 * [mod_auth] send 401 if digest algo not supported 598 * [mod_deflate] do not cache 206 Partial Content 599 * [core] chunkqueue_append_cq_range() 600 * [core] http_range.[ch] RFC 7233 Range handling 601 * [core] RFC 7233 Range handling for non-streaming 602 * [TLS] fix crash for (broken) nested $SERVER[] cfg 603 * [core] ignore server.event-handler = "libev" 604 * [mod_openssl] use newer openssl 3.0.0 interfaces 605 * [core] quiet coverity warning 606 * [core] http_cgi_local_redir() rename 607 * [core] http_cgi.[ch] CGI interfaces (RFC 3875) 608 * [core] save parsed listen addrs at startup 609 * [core] http_cgi_encode_varname() 610 * [core] add some ifdefs in algo_hmac.c 611 * [core] use epoll_create1() if available 612 * [core] adjust stat_cache_get_entry() conditions 613 * [core] _WIN32 impl of read-only mmap(), munmap() 614 * [core] remove stream.[ch] 615 * [multiple] use binary '|' to reconstruct ts 616 * [core] check EAGAIN if unix socket connect() delay 617 * [multiple] prefer monotonic time for internal use 618 * [core] optimize buffer_urldecode_path() 619 * [mod_openssl] skip cert chain build if self-issued 620 * [mod_nss] avoid NSS crash w/ config file error 621 * [multiple] prefer monotonic time for internal use 622 * [core] http_response_handle_cachable() optim 623 * [core] fix chunkqueue_small_resp_optim partial rd 624 * [core] defer pcre_compile until after config parse 625 * [multiple] PCRE w/ PCRE_STUDY_JIT_COMPILE (fixes #2361) 626 * [mod_dirlisting, mod_trigger_b4_dl] use keyvalue 627 * [multiple] add attrs from gcc -Wsuggest-attribute= 628 * [mod_gnutls] quiet clang warning 629 * [core] http_response_physical_path_error() 630 * [multiple] buffer_has_slash_suffix() 631 * [core] modify path in-place checking for path-info 632 * [multiple] optimize primitives, buffer_extend() 633 * [multiple] do not clear physical.path if finished 634 * [core] http_kv.[ch] perf tuning 635 * [core] remove bad prototype from algo_splaytree.h 636 * [multiple] mark addtl funcs attr returns_nonnull 637 * [TLS] init STEK even if time is 1970 (fixes #3075) 638 * [core] restart if large large clock jump detected (#3075) 639 * [core] copy string and len directly from tmp_buf 640 * [core] move special case for Content-Type CGI hdr 641 * [mod_ssi] inline some buffers in ssi plugin_data 642 * [core] use monotonic secs for piped loggers start 643 * [mod_cml] use cached time from log_epoch_secs 644 * [mod_dirlisting] limit buffer use for large dirs 645 * [multiple] http_header APIs to reduce str copies 646 * [mod_userdir] use stat_cache_path_isdir() 647 * [mod_indexfile] reduce copying of base path 648 * [TLS] https_add_ssl_client_verify_err() 649 * [TLS] use stack for SSL_CLIENT_S_DN_* tag 650 * [core] buffer_append_strftime() perf annotations 651 * [mod_userdir] use 2-element cache 652 * [mod_magnet] use http_chunk_* APIs 653 * [mod_accesslog] reformat numeric timestamp 654 * [mod_accesslog] strftime %z for numeric timestamp 655 * [mod_accesslog] reformat numeric timestamp code 656 * [multiple] strftime %F and %T 657 * [mod_trigger_b4_dl] gdbm_reorganize once a day 658 * [mod_status] double-buffer large output to tmpfile 659 * [mod_ssi] shared code to wrap strftime() 660 * [mod_ssi] use intermediate chunkqueue to aggregate 661 * [multiple] pass len when copying constant strings 662 * [core] short-circuit encoding if nothing to encode 663 * [build] check for mempcpy() 664 * [core] buffer_append_* aggregates 665 * [core] config_vars_init() 666 * [multiple] use buffer_append_* aggregates 667 * [core] define __attribute_nonnull__ 668 * [core] mark select buffer.[ch] funcs attr nonnull 669 * [core] mark select http_kv.[ch] funcs attr nonnull 670 * [core] mark some chunk.h funcs attr cold 671 * [core] remove an excess check 672 * [core] mark debug path unlikely 673 * [core] ignore empty headers unless pseudo-headers 674 * [multiple] buffer_copy_path_len2() aggregate 675 * [mod_dirlisting] process dir in subrequest handler 676 * [mod_dirlisting] restructure and keep state 677 * [mod_dirlisting] read dir in pieces; less blocking 678 * [mod_dirlisting] upper limit on parallel dirlist 679 * [mod_dirlisting] parse query string in javascript 680 * [mod_dirlisting] dir-listing.cache option 681 * [mod_webdav] webdav_log_xml_response() 682 * [mod_webdav] limit mem use under extreme condition 683 * [core] vector.h tweaks 684 * [mod_proxy] send HTTP/1.0 to backend if no Host 685 * [build] fix zstd option in meson (fixes #3076) 686 * [multiple] more reuse of http_date_time_to_str() 687 * [TLS] rename ssl.verifyclient.ca-*file options 688 * [mod_openssl] issue error trace if < openssl 1.1.1 689 * [mod_webdav] always define webdav_mmap_file_chunk 690 * [mod_dirlisting] ignore error if include file fail 691 * [multiple] quiet coverity warnings 692 * [scons] link lighttpd with pcre for fullstatic 693 * [scons] link lighttpd with pcre for static build 694 * [core] exit 0 upon shutdown if no connections open 695 * [mod_nss] define TLSv1_3 as bitflag 696 * [core] update ls-hpack 697 * [core] discard some HTTP/2 DATA after response (fixes #3078) 698 * [mod_expires,mod_webdav] fix truncated date string 699 * [mod_expire] accept time labels without plural 's' 700 * [mod_webdav] accept alt syntax in webdav.opts 701 * [core] recognize "enabled"/"disabled" for bool 702 * [mod_expire] check for default if mime not found 703 * [core] move timegm() impl inline in sys-time.h 704 * [mod_expire] send only Cache-Control to >=HTTP/1.1 705 * [mod_webdav] quiet pedantic compiler warning 706 * [core] reuse code to parse backend response 707 * [core] consistent inclusion of sys-time.h 708 * [mod_authn_file] wipe password/digest after use 709 * [TLS] ALPN h2 policy 710 * [core] tolerate dup array config values if match 711 * [multiple] static file optimization; reuse cache 712 * [mod_staticfile] move cold paths to separate func 713 * [build] --with-nss add test for /usr/include/nspr4 714 * [core] li_base64_decode similar to li_to_base64 715 * [core] li_base64_decode mark cold code path 716 * [core] li_to_base64 alt code to add padding 717 * [core] buffer_append_base64_encode_opt() 718 * [core] base64_charset enum supports only 2 tables 719 * [core] consolidate overflow checks in li_to_base64 720 * [mod_auth] include unistd.h for crypt() on Mac OS 721 * [core] tighten code in request_check_hostname() 722 * [core] merge http_response_send_file 0-size case 723 * [mod_extforward] shared mod_extforward_bad_request 724 * [core] http_response_send_file() mark cold paths 725 * [core] improve HTTP/2 behavior w/ max-request-size 726 * [tests] disable secdownload HMAC tests for NSS 727 * [core] check for Upgrade before h2 upgrade check 728 * [core] remove buffer_is_equal_right_len() 729 * [core] buffer_is_equal_string -> buffer_eq_slen 730 * [core] mark cold paths in http_response_config 731 * [core] http_response_prepare() OPTIONS *, CONNECT 732 * [core] mark some likely hot paths (better asm) 733 * [core] simplify buffer_path_simplify() 734 * [core] remove excess assertions in buffer_commit() 735 * [core] quiet coverity noise 736 * [mod_auth] include unistd.h for crypt() on *nix 737 * [cmake] improve cmake detection of timegm 738 * [cmake] update src/config.h.cmake 739 * [core] adjust r->http_host ptr caching 740 * [core] merge uri_raw and uri_clean hooks 741 * [core] reorder hook enum for better mem locality 742 * [core] remove redundant check for max_conns 743 * [multiple] mark con->srv_socket a const ptr 744 * [core] accept in network_server_handle_fdevent() 745 * [mod_*_dbi] fix sqlite3_dbdir spelling in comments 746 * [core] remove HANDLER_UNSET enum value 747 * [core] add option to read config file from stdin 748 * [mod_flv_streaming] check range before sending FLV 749 * [mod_magnet] use http_chunk_append_file_ref_range 750 * [core] range chk http_chunk_append_file_ref_range 751 * [core] remove some (now) unused http_chunk APIs 752 * [core] document error edge case for HTTP/1.0 753 * [core] fix kill workers and shutdown by signal 754 * [core] store int* ptr to common gw status counters 755 * [tests] quite coverity warning in test_request.c 756 * [core] tighter OS event poll loops (better asm) 757 * [core] omit fdevent select() code if poll() avail 758 * [core] adjust some array code (better asm) 759 * [core] base64 encode round-up for required space 760 * [core] base64 encode w/ reduced data dependencies 761 * [core] merge base64 encoding to li_base64_enc() 762 * [core] li_base64_dec() on 4 bytes at a time 763 * [core] load padding char from base64_table 764 * [core] remove size maint in algo_splaytree 765 * [core] remove excess counts from print config 766 * [core] consolidate config printing code 767 * [core] move data_{array,integer,string} to array.c 768 * [core] define __attribute_unused__ if needed 769 * [core] ck.[ch] - C11 Annex K wrappers 770 * [multiple] use thread-safe strerror where avail 771 * [multiple] move const time cmp funcs to ck.[ch] 772 * [multiple] rename safe_memclear() -> ck_memzero() 773 * [multiple] http_auth_digest_hex2bin -> li_hex2bin 774 * [mod_auth,mod_vhostdb] move helper funcs to mods 775 * [mod_auth*] rename http_auth.* -> mod_auth_api.* 776 * [mod_vhostdb*] rename http_vhostdb->mod_vhostdb_api 777 * [core] comment out ck_getenv_s() (unused) 778 * [mod_secdownload] include algo_hmac.c in mod 779 * [core] make insert_dup an optional array method 780 * [core] return entry from array_insert_data_at_pos 781 * [core] network_write optimizations 782 * [core] network_write prefer writev() over write() 783 * [core] connection_handle_read_state mark hot case 784 * [core] buffer_commit() optim; better asm 785 * [TLS] write_cq_ssl defer remove_finished_chunks 786 * [core] compare entire "/bin/sh" "-c" after execve 787 * [core] reduce repeated work in http_cgi_headers() 788 * [core] code reuse with array_match_value_prefix() 789 * [build] adjustments for autotools on Mac OS X 790 * [build] autoupdate; still autoconf 2.60 compatible 791 * [build] MacOS linker compat 792 * [core] http_header_hkey_get() perf (better asm) 793 * [TLS] reset stek_rotate_ts if clock moves backward 794 * [core] sock_addr_from_buffer_hints_numeric unused 795 * [core] tweaks writing response header (better asm) 796 * [core] adjust buffer use for hdr name for lshpack 797 * [core] comment out unused part of http_etag_remix 798 * [core] inline fam_dir_entry buffer 'name' member 799 * [multiple] reduce redundant NULL buffer checks 800 * [core] calculate backend host gw_hash at startup 801 * [core] gw_host_get() comment out devel debugging 802 * [core] request_config_reset() 803 * [mod_magnet] inline name and etag buffers in cache 804 * [mod_magnet] sync script load w/ stat_cache 805 * [core] clear etag in stat_cache_get_entry_open() 806 * [mod_auth] merge some repeated code; code reuse 807 * [core] add iovec wrappers to sys-crypto-md.h 808 * [core] li_base64_dec() 809 * [multiple] use <algo>_iov() digest funcs 810 * [mod_auth] mod_auth_digest_get() 811 * [mod_auth] mod_auth_algorithm_parse() w/ algo len 812 * [mod_authn_dbi] copy strings before escaping 813 * [mod_auth] refactor mod_auth_check_digest() 814 * [mod_auth] refactor mod_auth_check_basic() 815 * [build] look for memcpy and define HAVE_MEMCPY 816 * [core] buffer_path_simplify() quick(er) path 817 * [core] reduce memcmp in http_request_parse_header 818 * [build] look for port.h on Solaris, not sys/port.h 819 * [core] buffer_realloc() using power-2 realloc 820 * [core] lowercase r->http_host, r->uri.authority 821 * [multiple] buffer_copy_string_len_lc() 822 * [mod_magnet] cache script objects at config time 823 * [core] move backtrace and assert macros to ck.[ch] 824 * [core] allocate initial request pool w/ srv->conns 825 * [mod_extforward] inline some more data structures 826 * [mod_access] remove excess trace 827 * [multiple] reduce use of BUFFER_INTLEN_PTR 828 * [multiple] inline struct in con->dst_addr_buf 829 * [core] reset large path buffers from long URLs 830 * [core] construct file path after docroot hook 831 * [core] avoid inlining buffer_eq_icase_ssn() 832 * [core] order gw_proc members for packing and usage 833 * [core] order gw_host members for packing and usage 834 * [mod_proxy] proxy_response_headers load v earlier 835 * [core] proxy_create_env() tweaks 836 * [core] write_all() simpler loop; better asm 837 * [core] http_date_time_append() convenience macro 838 * [core] reduce excess cc inlining in http_chunk.c 839 * [core] const buffer * in config_check_cond_nocache 840 * [core] parse $HTTP["remote-ip"] CIDR mask at start 841 * [core] reduce $HTTP["host"] compare str scanning 842 * [multiple] http_method_buf() 843 * [core] config_check_cond_nocache() xor return code 844 * [core] refactor config_check_cond_nocache() flow 845 * [mod_deflate] use deflate.allowed-encodings order 846 * [mod_deflate] use ZSTD_c_strategy w/ compress lvl 847 * [mod_deflate] deflate.params per-encoder params 848 * [mod_deflate] use brotli quality 5 by default 849 * [mod_deflate] improve compress.*->deflate.* remap 850 * [mod_auth] detect and skip BWS (bad whitespace) 851 * [core] better trace if TLS received on clear port 852 * [core] replace strncasecmp w/ buffer_eq_icase_ssn 853 * [tests] use generated date in HTTP If conditionals 854 * [tests] update t/test_request.c 855 * [tests] mv tests from request.t to test_request.c 856 * [tests] t/test_mod_staticfile 857 * [tests] combine *.t using tests/lighttpd.conf 858 * [tests] combine *.t using tests/condition.conf 859 * [tests] speed up mod-fastcgi and mod-scgi tests 860 * [core] report Y2038 support in lighttpd -V 861 * [autoconf] add AC_SYS_LARGEFILE for lfs 862 * [multiple] Y2038 32-bit signed time_t mitigations 863 * [mod_deflate] use http_header_str_contains_token 864 * [core] tune http_response_process_headers() 865 * [core] use CLOCK_MONOTONIC_COARSE where available 866 * [core] log_clock_gettime->clock_gettime for 64-bit 867 * [core] Y2038: use _TIME_BITS=64 on 32-bit glibc 868 * [core] define _DEFAULT_SOURCE in first.h 869 * [build] check for sys/filio.h in CMake and meson 870 * [core] quiet compiler warnings 871 * [mod_openssl] no ALPN fatal error w/ mod_sockproxy (fixes #3081) 872 * [core] make missing mod_deflate not a fatal error 873 * [core] store time for last r/w to a backend socket 874 * [core] gw_backend_error() shared code 875 * [core] connect, write, read timeouts on backends (fixes #3086) 876 * [doc] https://wiki.lighttpd.net/Docs_Performance 877 * [core] tweak buffer merging to reduce mem 878 * [core] chunkqueue_append_buffer always clears buf 879 * [core] http_response_append_{buffer,mem}() 880 * [core] improve handling of suboptimal backend wr 881 * [core] http_response_read() indicate resp finished 882 * [mod_cgi] cgi.limits "read-timeout" "write-timeout" (#3086) 883 * [core] clarify error message in gw_backend.c 884 * [core] set min srv->max_fds = 32 (sanity check) 885 * [core] adjust server overload check 886 * [core] free fdwaitqueue list when empty 887 * [core] adjust srv->srvconf.max_conns at startup 888 * [core] conns_pool separate from conns list (#3084) 889 * [build] update ax_prog_cc_for_build.m4 890 * [core] add wolfssl-specific include 891 * [core] rename srv->max_conns -> srv->lim_conns 892 * [core] change srv->conns to doubly-linked-list 893 * [core] change con joblist to singly-linked-list 894 * [core] remove connection_list_append() 895 * [core] clear request,connection pools every 64 sec (#3084) 896 * [mod_wolfssl] wolfSSL_sk_X509_NAME_push change 897 * [core] clarify an error message 898 * [core] reduce optim inline of cold funcs 899 * [core] remove HANDLER_WAIT_FOR_FD 900 * [mod_cgi] reuse chunk buffers 901 * [mod_cgi] use linked list for process list 902 * [mod_uploadprogress] use splay_tree for req list 903 * [multiple] remove base.h include where not used 904 * [mod_indexfile] section into subroutines 905 * [mod_extforward] HAProxy PROXY env PP2_UNIQUE_ID 906 * [mod_magnet] reuse lighty lua table 907 * [core] li_hmac_sha512() 908 * [mod_magnet] expose md and hmac funcs to lua 909 * [mod_magnet] allow modification of request headers 910 * [mod_magnet] lighty.stat now returns userdata obj 911 * [mod_magnet] protect and control lighty table mod 912 * [mod_magnet] expose enc/dec str funcs to lua 913 * [mod_magnet] look up env id by strlen, then strcmp 914 * [core] reuse some cold duplicate hdr match code 915 * [core] use mod name in trace instead of mod_gw 916 * [mod_magnet] lighty.r.* interfaces to request 917 * [core] refuse excess h2 streams at con start (fixes #3093) 918 * [mod_magnet] lighty.c.cookie_tokens 919 * [mod_magnet] lighty.c.readdir 920 * [mod_magnet] use blank str for nil (do not panic) 921 * [mod_magnet] rename magnet_cgi_ to magnet_envvar_ 922 * [mod_magnet] reset config cache for uri components 923 * [mod_magnet] reset config cache for remote addr 924 * [core] sock_addr_set_port() 925 * [mod_magnet] attrs for remote port and server port 926 * [mod_magnet] detect MAGNET_RESTART_REQUEST loops 927 * [mod_magnet] ignore 1xx return in response start 928 * [mod_echo] test module to echo request as response 929 * [core] base64url pad char is '='; change from '.' 930 * [mod_cgi] improve CGI offloading 931 * [mod_openssl] default disable client renegotiation 932 * [core] log_error_multiline() 933 * [tests] t/test_mod_indexfile 934 * [tests] IO::Socket::INET->new( Timeout => 1 ) 935 * [mod_indexfile] update path with buffer path funcs 936 * [tests] move tests/docroot/www contents up 1 level 937 * [build] look for malloc.h and mallopt() 938 * [core] config mallopt(M_ARENA_MAX, 2) (#3084) 939 * [core] periodically malloc_trim() to release mem (fixes #3084) 940 * [build] propagate HAVE_DLFCN_H in builds 941 * [core] cfg server.bindhost after $SERVER["socket"] 942 * [core] TCP_CORK w/ MEM_CHUNK then FILE_CHUNK 943 * [core] remove server.upload-temp-file-size limit 944 * [core] expose ck_bt() for debugging 945 * [core] change backtrace format to put addr first 946 * [core] reduce stack use in main() 947 * [core] write all cq MEM_CHUNK if spill to tempfile 948 * [core] realloc buffer power-2 size + 1 for '\0' 949 * [mod_cgi] cgi.limits "tcp-fin-propagate" => "SIG" 950 * [core] consolidate more gw_host, gw_proc init code 951 * [core] mark cold more gateway maintenance code 952 * [core] reduce wait time in gw_spawn_connection() 953 * [core] remove redundant waitpid() on each backend 954 * [multiple] quiet coverity warnings 955 * [build] define rsize_t on FreeBSD 956 * [core] quiet coverity warnings 957 * [tests] skip time-sensitive test during CI testing 958 * [core] clear buffer after backend dechunk 959 * [core] update comment about server.max-write-idle 960 * [core] fdlog.[ch]; fdevent_*_logger_* -> fdlog_* 961 * [multiple] de-dup file and piped loggers (fixes #3101) 962 * [multiple] prefer r->tmp_buf to p->tmp_buf 963 * [core] shared temp buffer for log_*error*() 964 * [core] refuse excess initial streams only if block (fixes #3100) 965 * [core] quiet coverity warnings 966 * [core] reject HTTP/2 pseudo-header in trailers (#3102) 967 * [core] remove redundant check in h2_recv_headers() 968 * [core] reduce oversized mem alloc for backends 969 * [core] HTTP/2 GOAWAY after timeout before read (fixes #3102) 970 * [core] default backend "connect-timeout" to 8 (#3086) 971 * [core] HTTP/2 GOAWAY after timeout before read (#3102) 972 * [core] mark attr malloc, returns nonnull 973 * [core] separate mem pool for FILE_CHUNK reuse 974 * [core] retain largest chunk on oversized chunk lst 975 * [core] improve chunk buffer reuse from backends 976 * [multiple] internal control for backend read bytes 977 * [core] option: errorlog high precision timestamps 978 * [core] create temp file name in chunk buffer 979 * [core] chunkqueue_get_append_newtempfile() 980 * [core] remove redundant checks for tempfile chunk 981 * [multiple] fdevent_mkostemp() 982 * [build] check for pread(), pwrite(), splice() 983 * [multiple] _WIN32 fdevent_pipe_cloexec() 984 * [core] _WIN32 impl of fdevent_mkostemp() 985 * [multiple] check feature flags funcs; code reuse 986 * [multiple] avoid empty chunks in chunkqueue 987 * [core] splice() data from backends to tempfiles 988 * [core] fix chunked decoding from backend (#3044, #3046) 989 * [core] remove obsolete comment about r->gw_dechunk 990 * [core] improve chunk buffer reuse from backends 991 * [mod_cgi] improve chunk buffer reuse from backends 992 * [core] disable streaming response with authorizer (fixes #3106) 993 * [multiple] clarify error msg when no cert avail 994 * [core] disable server.graceful-restart-bg if spawn 995 * [tests] ignore SIGINT, SIGUSR1 in fcgi-responder 996 * [core] cap size of data framed for HTTP/2 response 997 * [core] fix typo in h2_send_cqdata() 998 * [core] use pread() to skip lseek() 999 * [core] h2_send_cqdata() returns how much data sent 1000 * [core] allow up to 32k of data frames per stream 1001 * [core] limit initial response header backend read 1002 * [core] read files into mem when framed for HTTP/2 1003 * [core] chunkqueue_mmap_chunk_len() for code reuse 1004 * [core] chunkqueue_peek_data() mmap experiment 1005 * [core] quiet coverity warnings 1006 * [core] portability tweaks for various platforms/cc 1007 * [core] fix chunked decoding from backend (#3044, #3046) 1008 * [doc] update config files 1009 * [mod_openssl] boringssl compat 1010 * [core] adjust indent for clarity 1011 1012- 1.4.59 - 2021-02-02 1013 * [mod_webdav] hide unused funcs depending on build 1014 * [mod_mbedtls] include mbedtls/platform_util.h 1015 * [mod_mbedtls] use local strncmp_const() 1016 * [mod_gnutls] use local strncmp_const() 1017 * [mod_dirlisting] place vars closer to where used 1018 * [autotools] autoupdate; subst deprecated/obsolete 1019 * [autoconf] update ax_prog_cc_for_build.m4 1020 * [core] fix crash at shutdown w/ certain config 1021 * [tests] use ephemeral ports in tests 1022 * [mod_wolfssl] minor updates for wolfSSL v4.6.0 1023 * [doc] create-mime.conf.pl improve case handling 1024 * [mod_openssl] extend ssl.openssl.ssl-conf-cmd 1025 * [mod_extforward] config warning for module order 1026 * [mod_extforward] fix extforward.headers defaults (fixes #3051) 1027 * [multiple] use HTTP_HEADER_* enum before strcmp 1028 * [multiple] replace buffer_is_equal_caseless_string 1029 * [mod_dirlisting] quiet coverity false positive 1030 * [doc] create-mime.conf.pl improve case handling 1031 * [autoconf] fix LT_INIT syntax 1032 * [doc] create-mime.conf.pl -v for warnings 1033 * [core] fix crash in error trace if backend is down (fixes #3052) 1034 * [doc] create-mime.conf.pl -v silent for mult vnd 1035 * [mod_openssl] update LIBRESSL_VERSION_NUMBER check 1036 * [multiple] fix: honor CipherString for alt TLS lib 1037 * [mod_openssl] set Ciphersuites once API available 1038 * [mod_dirlisting] use fdopendir(), fstatat() 1039 * [mod_deflate] support Accept-Encoding: zstd 1040 * [mod_deflate] use zstd streaming API 1041 * [mod_dirlisting] hide unused variable on MacOS 1042 * [doc] add --with-zstd to INSTALL 1043 * [mod_access] mark mod_access_check attribute pure 1044 * [core] add decls in connections.h 1045 * [build] update scripts/ci-build.sh 1046 * [core] check ifdef WOLFSSL_SHA512 for SHA512 avail 1047 * [build] scripts/ci-build.sh --with-nettle 1048 * [mod_openssl] update LIBRESSL_VERSION_NUMBER check 1049 * [build] scripts/ci-build.sh w/o --with-wolfssl 1050 * [build] scripts/ci-build.sh adjustments 1051 * [build] fix typo in src/CMakeLists.txt 1052 * [build] adjust mbedtls vars in src/CMakeLists.txt 1053 * [build] scripts/ci-build.sh adjustments 1054 * [build] adjust crypto vars in src/CMakeLists.txt 1055 * [core] avoid multiple definition of SHA512_CTX 1056 * [build] adjust crypto vars in src/CMakeLists.txt 1057 * [mod_alias] modify r->physical.path in place 1058 * [build] scripts/ci-build.sh add --with-maxminddb 1059 * build] scripts/ci-build.sh remove --with-maxminddb 1060 * [mod_deflate] use zstd typedefs (minor cleanup) 1061 * [mod_deflate] compat with zstd < v1.4.0 1062 * [multiple] fix coverity warnings 1063 * [multiple] fix TLS config string parsing 1064 * [mod_gnutls] fix ssl.ca_dn_file data access 1065 * [mod_wolfssl] wipe ssl_pemfile_pkey before free() 1066 * [mod_wolfssl] fix syntax errors 1067 * [multiple] fix TLS config string parsing 1068 * [mod_gnutls] fix alt code for coverity 1069 * [core] check more carefully after SSL_WANT_WRITE 1070 * [core] fix 100% CPU spin if traffic limit hit 1071 * [core] skip interest in POLLRDHUP after POLLRDHUP (#3059) 1072 * [TLS] detect expired stapling file at startup (fixes #3056) 1073 * [multiple] avoid duplicate parsing in trigger func (#3056) 1074 * [multiple] quiet some clang-analyzer warnings 1075 * [core] enable HTTP/2 by default 1076 * [mod_ajp13] AJPv13 Tomcat connector for lighttpd 1077 * [core] const data_unset *array_get_element_klen() 1078 * [core] tighten struct data_config and related code 1079 * [core] fix merging large headers across mult reads (fixes #3059) 1080 * [mod_gnutls,mod_mbedtls] recog common cipherstring 1081 * [build] fix typo in SConstruct (fixes #3061) 1082 * [mod_wolfssl] wolfSSL might repeat SNI_Callback() 1083 * [TLS] fix invalid cfg warning 1084 * [mod_openssl] fix acme-tls/1 challenge bootstrap 1085 * [TLS] set r->uri.authority empty str upon accept() 1086 * [mod_gnutls] fix acme-tls/1 challenge bootstrap 1087 * [mod_nss] fix acme-tls/1 challenge bootstrap 1088 * [mod_wolfssl] copy stapling buf for OCSP resp 1089 * [mod_mbedtls] fix acme-tls/1 challenge bootstrap 1090 * [mod_mbedtls] fix acme-tls/1 challenge bootstrap 1091 * [mod_cgi] fix assert if empty X-Sendfile path (fixes #3062) 1092 * [mod_mbedtls] restore ALPN chk after client hello 1093 * [core] re-validate h2 CONTINUATION frame len in cq 1094 * [mod_mbedtls] remove redundant condition check 1095 * [core] quiet coverity warning 1096 1097- 1.4.58 - 2020-12-27 1098 * [mod_wolfssl] use wolfSSL TLS version defines 1099 * [mod_wolfssl] compile with earlier wolfSSL vers 1100 * [tests] collect code for "die-at-end" tests 1101 * [tests] remove FastCGI test dependency on libfcgi 1102 * [core] prefer IPv6+IPv4 func vs IPv4-specific func 1103 * [tests] remove FastCGI test dependency on PHP 1104 * [core] reuse large mem chunks (fix mem usage) (fixes #3033) 1105 * [core] add comment for FastCGI mem use in hctx->rb (#3033) 1106 * [mod_proxy] fix sending of initial reqbody chunked 1107 * [multiple] fdevent_waitpid() wrapper 1108 * [core] sys-time.h - localtime_r,gmtime_r macros 1109 * [core] http_date.[ch] encapsulate HTTP-date parse 1110 * [core] specialized strptime() for HTTP date fmts 1111 * [multiple] employ http_date.h, sys-time.h 1112 * [core] http_date_timegm() (portable timegm()) 1113 * buffer_append_path_len() to join paths 1114 * [core] inet_ntop_cache -> sock_addr_cache 1115 * [tests] slight speed up checking for server ready 1116 * [tests] load required modules in alt .conf tests 1117 * [multiple] etag.[ch] -> http_etag.[ch]; better imp 1118 * [core] fix crash after specific err in config file 1119 * [core] fix bug in FastCGI uploads (#3033) 1120 * [tests] OpenBSD crypt() support limited to bcrypt 1121 * [core] http_response_match_if_range() 1122 * [mod_webdav] typedef off_t loff_t for FreeBSD 1123 * [multiple] chunkqueue_write_chunk() 1124 * [build] add GNUMAKEFLAGS=--no-print-directory 1125 * [tests] consolidate some tests/ content 1126 * [core] fix bug in read retry found by coverity 1127 1128- 1.4.57 - 2020-12-17 1129 * [core] attempt to quiet some coverity warnings 1130 * [mod_webdav] compile fix for Mac OSX/11 1131 * [core] handle U+00A0 in config parser 1132 * [core] fix lighttpd -1 one-shot with pipes 1133 * [core] quiet start/shutdown trace in one-shot mode 1134 * [core] allow keep-alives in one-shot mode (#3042) 1135 * [mod_webdav] define _ATFILE_SOURCE if AT_FDCWD 1136 * [core] setsockopt IPV6_V6ONLY if server.v4mapped 1137 * [build] fix meson.build when building all TLS mods 1138 * [core] prefer inet_aton() over inet_addr() 1139 * [build] fix SCons build when building all TLS mods 1140 * [core] add missing mod_wolfssl to ssl compat list 1141 * [mod_openssl] remove ancient preprocessor logic 1142 * [core] SHA512_Init, SHA512_Update, SHA512_Final 1143 * [mod_wolfssl] add complex preproc logic for SNI 1144 * [core] wrap a macro value with parens 1145 * [core] fix handling chunked response from backend (fixes #3044) 1146 * [core] always set file.fd = -1 on FILE_CHUNK reset (fixes #3044) 1147 * [core] skip some trace if backend Upgrade (#3044) 1148 * [TLS] cert-staple.sh POSIX sh compat (fixes #3043) 1149 * [core] portability fix if st_mtime not defined 1150 * [mod_nss] portability fix 1151 * [core] warn if mod_authn_file needed in conf 1152 * [core] fix chunked decoding from backend (fixes #3044) 1153 * [core] reject excess data after chunked encoding (#3046) 1154 * [core] track chunked encoding state from backend (fixes #3046) 1155 * [core] li_restricted_strtoint64() 1156 * [core] track Content-Length from backend (fixes #3046) 1157 * [core] enhance config parsing debugging (#3047) 1158 * [core] reorder srv->config_context to match ndx (fixes #3047) 1159 * [mod_proxy] proxy.header = ("force-http10" => ...) 1160 * [mod_authn_ldap] fix crash (fixes #3048) 1161 * [mod_authn_ldap, mod_vhostdb_ldap] default cafile 1162 * [core] fix array_copy_array() sorted[] 1163 * [multiple] replace fall through comment with attr 1164 * [core] fix crash printing trace if backend is down 1165 * [core] fix decoding chunked from backend (fixes #3049) 1166 * [core] attempt to quiet some coverity warnings 1167 1168- 1.4.56 - 2020-11-29 1169 * [core] perf: request processing 1170 * [core] http_header_str_contains_token() 1171 * [mod_flv_streaming] parse query string w/o copying 1172 * [mod_evhost] use local array to split values 1173 * [core] remove srv->split_vals 1174 * [core] add User-Agent to http_header_e enum 1175 * [core] store struct server * in struct connection 1176 * [core] use func rc to indicate done reading header 1177 * [core] replace connection_set_state w/ assignment 1178 * [core] do not pass srv to http header parsing func 1179 * [core] cold buffer_string_prepare_append_resize() 1180 * [core] chunkqueue_compact_mem() 1181 * [core] connection_chunkqueue_compact() 1182 * [core] pass con around request, not srv and con 1183 * [core] reduce use of struct parse_header_state 1184 * [core] perf: HTTP header parsing using \n offsets 1185 * [core] no need to pass srv to connection_set_state 1186 * [core] perf: connection_read_header_more() 1187 * [core] perf: connection_read_header_hoff() hot 1188 * [core] inline connection_read_header() 1189 * [core] pass ptr to http_request_parse() 1190 * [core] more 'const' in request.c prototypes 1191 * [core] handle common case of alnum or - field-name 1192 * [mod_extforward] simplify code: use light_isxdigit 1193 * [core] perf: array.c performance enhancements 1194 * [core] mark some data_* funcs cold 1195 * [core] http_header.c internal inline funcs 1196 * [core] remove unused array_reset() 1197 * [core] prefer uint32_t to size_t in base.h 1198 * [core] uint32_t for struct buffer sizes 1199 * [core] remove unused members of struct server 1200 * [core] short-circuit path to clear request.headers 1201 * [core] array keys are non-empty in key-value list 1202 * [core] keep a->data[] sorted; remove a->sorted[] 1203 * [core] __attribute_returns_nonnull__ 1204 * [core] differentiate array_get_* for ro and rw 1205 * [core] (const buffer *) in (struct burl_parts_t) 1206 * [core] (const buffer *) for con->server_name 1207 * [core] perf: initialize con->conf using memcpy() 1208 * [core] run config_setup_connection() fewer times 1209 * [core] isolate data_config.c, vector.c 1210 * [core] treat con->conditional_is_valid as bitfield 1211 * [core] http_header_hkey_get() over const array 1212 * [core] inline buffer as part of DATA_UNSET key 1213 * [core] inline buffer key for *_patch_connection() 1214 * [core] (data_unset *) from array_get_element_klen 1215 * [core] inline buffer as part of data_string value 1216 * [core] add const to callers of http_header_*_get() 1217 * [core] inline array as part of data_array value 1218 * [core] const char *op in data_config 1219 * [core] buffer string in data_config 1220 * [core] streamline config_check_cond() 1221 * [core] keep a->data[] sorted (REVERT) 1222 * [core] array a->sorted[] as ptrs rather than pos 1223 * [core] inline header and env arrays into con 1224 * [mod_accesslog] avoid alloc for parsing cookie val 1225 * [core] simpler config_check_cond() 1226 * [mod_redirect,mod_rewrite] store context_ndx 1227 * [core] const char *name in struct plugin 1228 * [core] srv->plugin_slots as compact list 1229 * [core] rearrange server_config, server members 1230 * [core] macros CONST_LEN_STR and CONST_STR_LEN 1231 * [core] struct plugin_data_base 1232 * [core] improve condition caching perf 1233 * [core] config_plugin_values_init() new interface 1234 * [mod_access] use config_plugin_values_init() 1235 * [core] (const buffer *) from strftime_cache_get() 1236 * [core] mv config_setup_connection to connections.c 1237 * [core] use (const char *) in config file parsing 1238 * [mod_staticfile] use config_plugin_values_init() 1239 * [mod_skeleton] use config_plugin_values_init() 1240 * [mod_setenv] use config_plugin_values_init() 1241 * [mod_alias] use config_plugin_values_init() 1242 * [mod_indexfile] use config_plugin_values_init() 1243 * [mod_expire] use config_plugin_values_init() 1244 * [mod_flv_streaming] use config_plugin_values_init() 1245 * [mod_magnet] use config_plugin_values_init() 1246 * [mod_usertrack] use config_plugin_values_init() 1247 * [mod_userdir] split policy from userdir path build 1248 * [mod_userdir] use config_plugin_values_init() 1249 * [mod_ssi] use config_plugin_values_init() 1250 * [mod_uploadprogress] use config_plugin_values_init() 1251 * [mod_status] use config_plugin_values_init() 1252 * [mod_cml] use config_plugin_values_init() 1253 * [mod_secdownload] use config_plugin_values_init() 1254 * [mod_geoip] use config_plugin_values_init() 1255 * [mod_evasive] use config_plugin_values_init() 1256 * [mod_trigger_b4_dl] use config_plugin_values_init() 1257 * [mod_accesslog] use config_plugin_values_init() 1258 * [mod_simple_vhost] use config_plugin_values_init() 1259 * [mod_evhost] use config_plugin_values_init() 1260 * [mod_vhostdb*] use config_plugin_values_init() 1261 * [mod_mysql_vhost] use config_plugin_values_init() 1262 * [mod_maxminddb] use config_plugin_values_init() 1263 * [mod_auth*] use config_plugin_values_init() 1264 * [mod_deflate] use config_plugin_values_init() 1265 * [mod_compress] use config_plugin_values_init() 1266 * [core] add xsendfile* check if xdocroot is NULL 1267 * [mod_cgi] use config_plugin_values_init() 1268 * [mod_dirlisting] use config_plugin_values_init() 1269 * [mod_extforward] use config_plugin_values_init() 1270 * [mod_webdav] use config_plugin_values_init() 1271 * [core] store addtl data in pcre_keyvalue_buffer 1272 * [mod_redirect] use config_plugin_values_init() 1273 * [mod_rewrite] use config_plugin_values_init() 1274 * [mod_rrdtool] use config_plugin_values_init() 1275 * [multiple] gw_backends config_plugin_values_init() 1276 * [core] config_get_config_cond_info() 1277 * [mod_openssl] use config_plugin_values_init() 1278 * [core] use config_plugin_values_init() 1279 * [core] collect more config logic into configfile.c 1280 * [core] config_plugin_values_init_block() 1281 * [core] gw_backend config_plugin_values_init_block 1282 * [core] remove old config_insert_values_*() funcs 1283 * [multiple] plugin.c handles common FREE_FUNC code 1284 * [core] run all trigger and sighup handlers 1285 * [mod_wstunnel] change DEBUG_LOG to use log_error() 1286 * [core] stat_cache_path_contains_symlink use errh 1287 * [core] isolate use of data_config, configfile.h 1288 * [core] split cond cache from cond matches 1289 * [mod_auth] inline arrays in http_auth_require_t 1290 * [core] array_init() arg for initial size 1291 * [core] gw_exts_clear_check_local() 1292 * [core] gw_backend less pointer chasing 1293 * [core] connection_handle_errdoc() separate func 1294 * [multiple] prefer (connection *) to (srv *) 1295 * [core] create http chunk header on the stack 1296 * [multiple] connection hooks no longer get (srv *) 1297 * [multiple] plugin_stats array 1298 * [core] read up-to fixed size chunk before fionread 1299 * [core] default chunk size 8k (was 4k) 1300 * [core] pass con around gw_backend instead of srv 1301 * [core] log_error_multiline_buffer() 1302 * [multiple] reduce direct use of srv->cur_ts 1303 * [multiple] extern log_epoch_secs 1304 * [multiple] reduce direct use of srv->errh 1305 * [multiple] stat_cache singleton 1306 * [mod_expire] parse config into structured data 1307 * [multiple] generic config array type checking 1308 * [multiple] rename r to rc rv rd wr to be different 1309 * [core] (minor) config_plugin_keys_t data packing 1310 * [core] inline buffer in log_error_st errh 1311 * [multiple] store srv->tmp_buf in tb var 1312 * [multiple] quiet clang compiler warnings 1313 * [core] http_status_set_error_close() 1314 * [core] http_request_host_policy w/ http_parseopts 1315 * [multiple] con->proto_default_port 1316 * [core] store log filename in (log_error_st *) 1317 * [core] separate log_error_open* funcs 1318 * [core] fdevent uses uint32_t instead of size_t 1319 * [mod_webdav] large buffer reuse 1320 * [mod_accesslog] flush file log buffer at 8k size 1321 * [core] include settings.h where used 1322 * [core] static buffers for mtime_cache 1323 * [core] convenience macros to check req methods 1324 * [core] support multiple error logs 1325 * [multiple] omit passing srv to fdevent_handler 1326 * [core] remove unused arg to fdevent_fcntl_set_nb* 1327 * [core] slightly simpify server_(over)load_check() 1328 * [core] isolate fdevent subsystem 1329 * [core] isolate stat_cache subsystem 1330 * [core] remove include base.h where unused 1331 * [core] restart dead piped loggers every 64 sec 1332 * [mod_webdav] use copy_file_range() if available 1333 * [core] perf: buffer copy and append 1334 * [core] copy some srv->srvconf into con->conf 1335 * [core] move keep_alive flag into request_st 1336 * [core] pass scheme port to http_request_parse() 1337 * [core] pass http_parseopts around request.c 1338 * [core] rename specific_config to request_config 1339 * [core] move request_st,request_config to request.h 1340 * [core] pass (request_st *) to request.c funcs 1341 * [core] remove unused request_st member 'request' 1342 * [core] rename content_length to reqbody_length 1343 * [core] t/test_request.c using (request_st *) 1344 * [core] (const connection *) in http_header_*_get() 1345 * [mod_accesslog] log_access_record() fmt log record 1346 * [core] move request start ts into (request_st *) 1347 * [core] move addtl request-specific struct members 1348 * [core] move addtl request-specific struct members 1349 * [core] move plugin_ctx into (request_st *) 1350 * [core] move addtl request-specific struct members 1351 * [core] move request state into (request_st *) 1352 * [core] store (plugin *) in p->data 1353 * [core] store subrequest_handler instead of mode 1354 * [multiple] copy small struct instead of memcpy() 1355 * [multiple] split con, request (very large change) 1356 * [core] r->uri.path always set, though might be "" 1357 * [core] C99 restrict on some base funcs 1358 * [tests] stub out config funcs in test_mod_* 1359 * [tests] t/test_mod_userdir 1360 * [core] dispatch handler in handle_request func 1361 * [core] http_request_parse_target() 1362 * [mod_magnet] modify r->target with "uri.path-raw" 1363 * [core] remove r->uri.path_raw; generate as needed 1364 * [core] http_response_comeback() 1365 * [core] http_response_config() 1366 * [tests] use buffer_eq_slen() for str comparison 1367 * [core] http_status_append() short-circuit 200 OK 1368 * [core] mark some chunk.c funcs as pure 1369 * [core] use uint32_t in http_header.[ch] 1370 * [core] perf: tighten some code in some hot paths 1371 * [core] parse header label before end of line 1372 * [doc] add link to wiki in doc/outdated/ssl.txt 1373 * [doc] src/t/README 1374 * [mod_auth] "nonce_secret" option to validate nonce (fixes #2976) 1375 * [build] fix build on MacOS X Tiger 1376 * [doc] lighttpd.conf: lighttpd choose event-handler 1377 * [config] blank server.tag if whitespace-only 1378 * [mod_proxy] stream request using HTTP/1.1 chunked (fixes #3006) 1379 * [multiple] correct misspellings in comments 1380 * [multiple] fix some cc warnings in 32-bit, powerpc 1381 * [tests] fix skip count in mod-fastcgi w/o php-cgi 1382 * [multiple] ./configure --with-nettle to use Nettle 1383 * [core] skip excess close() when FD_CLOEXEC defined 1384 * [mod_cgi] remove redundant calls to set FD_CLOEXEC 1385 * [core] return EINVAL if stat_cache_get_entry w/o / 1386 * [mod_webdav] define PATH_MAX if not defined 1387 * [mod_accesslog] process backslash-escapes in fmt 1388 * [mod_openssl] disable cert vrfy if ALPN acme-tls/1 1389 * [core] add seed before openssl RAND_pseudo_bytes() 1390 * [mod_mbedtls] mbedTLS option for TLS 1391 * [core] prefer getxattr() instead of get_attr() 1392 * [multiple] use *(unsigned char *) with ctypes 1393 * [mod_openssl] do not log ECONNRESET unless debug 1394 * [mod_openssl] SSL_R_UNEXPECTED_EOF_WHILE_READING 1395 * [mod_gnutls] GnuTLS option for TLS (fixes #109) 1396 * [mod_openssl] rotate session ticket encryption key 1397 * [mod_openssl] set cert from callback in 1.0.2+ (fixes #2842) 1398 * [mod_openssl] set chains from callback in 1.0.2+ (#2842) 1399 * [core] RFC-strict parse of Content-Length 1400 * [build] point ./configure --help to support forum 1401 * [core] stricter parse of numerical digits 1402 * [multiple] add summaries to top of some modules 1403 * [core] sys-crypto-md.h w/ inline message digest fn 1404 * [mod_openssl] enable read-ahead, if set, after SNI 1405 * [mod_openssl] issue warning for deprecated options 1406 * [mod_openssl] use SSL_OP_NO_RENEGOTIATION if avail 1407 * [mod_openssl] use openssl feature define for ALPN 1408 * [mod_openssl] update default DH params 1409 * [core] SecureZeroMemory() on _WIN32 1410 * [core] safe memset calls memset() through volatile 1411 * [doc] update comments in doc/config/modules.conf 1412 * [core] more precise check for request stream flags 1413 * [mod_openssl] rotate session ticket encryption key 1414 * [mod_openssl] ssl.stek-file to specify encrypt key 1415 * [mod_mbedtls] ssl.stek-file to specify encrypt key 1416 * [mod_gnutls] ssl.stek-file to specify encrypt key 1417 * [mod_openssl] disable session cache; prefer ticket 1418 * [mod_openssl] compat with LibreSSL 1419 * [mod_openssl] compat with WolfSSL 1420 * [mod_openssl] set SSL_OP_PRIORITIZE_CHACHA 1421 * [mod_openssl] move SSL_CTX curve conf to new func 1422 * [mod_openssl] basic SSL_CONF_cmd for alt TLS libs 1423 * [mod_openssl] OCSP stapling (fixes #2469) 1424 * [TLS] cert-staple.sh - refresh OCSP responses (#2469) 1425 * [mod_openssl] compat with BoringSSL 1426 * [mod_gnutls] option to override GnuTLS priority 1427 * [mod_gnutls] OCSP stapling (#2469) 1428 * [mod_extforward] config warning for module order 1429 * [mod_webdav] store webdav.opts as bitflags 1430 * [mod_webdav] limit webdav_propfind_dir() recursion 1431 * [mod_webdav] unsafe-propfind-follow-symlink option 1432 * [mod_webdav] webdav.opts "propfind-depth-infinity" 1433 * [mod_openssl] detect certs marked OCSP Must-Staple 1434 * [mod_gnutls] detect certs marked OCSP Must-Staple 1435 * [mod_openssl] default to set MinProtocol TLSv1.2 1436 * [mod_nss] NSS option for TLS (fixes #1218) 1437 * [core] fdevent_load_file() shared code 1438 * [mod_openssl,mbedtls,gnutls,nss] fdevent_load_file 1439 * [core] error if s->socket_perms chmod() fails 1440 * [mod_openssl] prefer some WolfSSL native APIs 1441 * quiet clang analyzer scan-build warnings 1442 * [core] uint32_t is plenty large for path names 1443 * [mod_mysql_vhost] deprecated; use mod_vhostdb_mysql 1444 * [core] splaytree_djbhash() in splaytree.h (reuse) 1445 * [cmake] update deps for src/t/test_* 1446 * [cmake] update deps for src/t/test_* 1447 * [build] remove tests/mod-userdir.t from builds 1448 * [build] fix typo in src/Makefile.am EXTRA_DIST 1449 * [core] remove unused mbedtls_enabled flag 1450 * [core] store fd in srv->stdin_fd during setup 1451 * [multiple] address coverity warnings 1452 * [mod_webdav] fix theoretical NULL dereference 1453 * [mod_webdav] update rc for PROPFIND allprop 1454 * [mod_webdav] build fix: ifdef live_properties 1455 * [multiple] address coverity warnings 1456 * [meson] fix libmariadb dependency 1457 * [meson] add missing libmaxminddb section 1458 * [mod_auth,mod_vhostdb] add caching option (fixes #2805) 1459 * [mod_authn_ldap,mod_vhostdb_ldap] add timeout opt (#2805) 1460 * [mod_auth] accept "nonce-secret" & "nonce_secret" 1461 * [mod_openssl] fix build warnings on MacOS X 1462 * [core] Nettle assert()s if buffer len > digest sz 1463 * [mod_authn_dbi] authn backend employing DBI 1464 * [mod_authn_mysql,file] use crypt() to save stack 1465 * [mod_vhostdb_dbi] allow strings and ints in config 1466 * add ci-build.sh 1467 * move ci-build.sh to scripts 1468 * [build] build fixes for AIX 1469 * [mod_deflate] Brotli support 1470 * [build] bzip2 default to not-enabled in build 1471 * [mod_deflate] fix typo in config option 1472 * [mod_deflate] propagate errs from internal funcs 1473 * [mod_deflate] deflate.cache-dir compressed cache 1474 * [mod_deflate] mod_deflate subsumes mod_compress 1475 * [doc] mod_compress -> mod_deflate 1476 * [tests] mod_compress -> mod_deflate 1477 * [mod_compress] remove mod_compress 1478 * [build] add --with-brotli to CI build 1479 * [core] server.feature-flags extensible config 1480 * [core] con layer plugin_ctx separate from request 1481 * [multiple] con hooks store ctx in con->plugin_ctx 1482 * [core] separate funcs to reset (request_st *) 1483 * [multiple] rename connection_reset hook to request 1484 * [mod_nss] func renames for consistency 1485 * [core] detect and reject TLS connect to cleartext 1486 * [mod_deflate] quicker check for Content-Encoding 1487 * [mod_openssl] read secret data w/ BIO_new_mem_buf 1488 * [core] decode Transfer-Encoding: chunked from gw 1489 * [mod_fastcgi] decode Transfer-Encoding: chunked 1490 * [core] stricter parsing of POST chunked block hdr 1491 * [mod_proxy] send HTTP/1.1 requests to backends 1492 * [tests] test_base64.c clear buf vs reset 1493 * [core] http_header_remove_token() 1494 * [mod_webdav] fix inadvertent string truncation 1495 * [core] add some missing standard includes 1496 * [mod_extforward] attempt to quiet Coverity warning 1497 * [mod_authn_dbi,mod_authn_mysql] fix coverity issue 1498 * [build] fix SCons build for detection of brotli 1499 * [build] SCons build with brotli needs -lm on *BSD 1500 * [build] SCons build mod_deflate w/ libm for brotli 1501 * [build] SCons brotli needs pkg-config --static 1502 * [build] avoid accept_filter_arg compiler warning 1503 * [build] SCons fix space/tabs inconsistency 1504 * scons: fix check environment 1505 * Add avahi service file under doc/avahi/ 1506 * [mod_webdav] fix fallback if linkat() fails 1507 * [mod_proxy] do not forward Expect: 100-continue 1508 * [core] chunkqueue_compact_mem() must upd cq->last 1509 * [core] dlsym for FAMNoExists() for compat w/ fam 1510 * [core] disperse settings.h to appropriate headers 1511 * [core] inline buffer_reset() 1512 * [mod_extforward] save proto per connection 1513 * [mod_extforward] skip after HANDLER_COMEBACK 1514 * [core] server.feature-flags to enable h2 1515 * [core] HTTP_VERSION_2 1516 * [multiple] allow TLS ALPN "h2" if "server.h2proto" 1517 * [mod_extforward] preserve changed addr for h2 con 1518 * [core] do not send Connection: close if h2 1519 * [core] lowercase response hdr field names for h2 1520 * [core] recognize status: 421 Misdirected Request 1521 * [core] parse h2 pseudo-headers 1522 * [core] request_headers_process() 1523 * [core] connection_state_machine_loop() 1524 * [core] reset connection counters per connection 1525 * [mod_accesslog,mod_rrdtool] HTTP/2 basic accounting 1526 * [core] connection_set_fdevent_interest() 1527 * [core] HTTP2-Settings 1528 * [core] adjust http_request_headers_process() 1529 * [core] http_header_parse_hoff() 1530 * [core] move http_request_headers_process() 1531 * [core] reqpool.[ch] for (request_st *) 1532 * [multiple] modules read reqbody via fn ptr 1533 * [multiple] isolate more con code in connections.c 1534 * [core] isolate more resp code in response.c 1535 * [core] h2.[ch] with stub funcs (incomplete) 1536 * [core] alternate between two joblists 1537 * [core] connection transition to HTTP/2; incomplete 1538 * [core] mark some error paths with attribute cold 1539 * [core] discard 100 102 103 responses from backend 1540 * [core] skip write throttle for 100 Continue 1541 * [core] adjust (disabled) debug code 1542 * [core] update comment 1543 * [core] link in ls-hpack (EXPERIMENTAL) 1544 * [core] HTTP/2 HPACK using LiteSpeed ls-hpack 1545 * [core] h2_send_headers() specialized for resp hdrs 1546 * [core] http_request_parse_header() specialized 1547 * [core] comment possible future ls-hpack optimize 1548 * [mod_status] separate funcs to print request table 1549 * [mod_status] adjust to print HTTP/2 requests 1550 * [core] redirect to dir using relative-path 1551 * [core] ignore empty field-name from backends 1552 * [build] fix meson build 1553 * [mod_auth] fix crash if auth.require misconfigured (fixes #3023) 1554 * [core] fix 1-char trunc of default server.tag 1555 * [core] request_acquire(), request_release() 1556 * [core] keep pool of (request_st *) for HTTP/2 1557 * [mod_status] dedicated funcs for r->state labels 1558 * [core] move connections_get_state to connections.c 1559 * [core] fix crash on master after graceful restart 1560 * [core] defer optimization to read small files 1561 * [core] do not require '\0' term for k,v hdr parse 1562 * [scripts] cert-staple.sh enhancements 1563 * [core] document algorithm used in lighttpd etag 1564 * [core] ls-hpack optimizations 1565 * [core] fix crash on master if blank line request 1566 * [build] fix typo in option description for wolfSSL 1567 * [core] use djbhash in gw_backend to choose host 1568 * [core] rename md5.[ch] to algo_md5.[ch] 1569 * [core] move djbhash(), dekhash() to algo_md.h 1570 * [core] rename splaytree.[ch] to algo_splaytree.[ch] 1571 * [core] import xxHash v0.8.0 1572 * [build] modify build, includes for xxHash v0.8.0 1573 * [build] remove ls-hpack/deps 1574 * [core] xxhash no inline hints; let compiler choose 1575 * [mod_dirlisting] fix config parsing crash 1576 * [mod_openssl] clarify trace w/ deprecated options 1577 * [doc] refresh doc/config/*/* 1578 * [core] code size: disable XXH64(), XXH3() 1579 * [doc] update README and INSTALL 1580 * [build] add to autogen.sh hint listing reqd pkgs 1581 * [core] combine Cookie request headers with ';' 1582 * [core] log stream id with debug.log-state-handling 1583 * [core] set r->state in h2.c 1584 * [mod_ssi] update chunk after shell output redirect 1585 * [mod_webdav] preserve bytes_out when chunks merged 1586 * [multiple] inline chunkqueue_length() 1587 * [core] cold h2_log_response_header*() funcs 1588 * [core] update HTTP status codes list from IANA 1589 * [mod_wolfssl] standalone module 1590 * [core] Content-Length in http_response_send_file() 1591 * [core] adjust response header prep for common case 1592 * [core] light_isupper(), light_islower() 1593 * [core] tst,set,clr macros for r->{rqst,resp}_htags 1594 * [core] separate http_header_e from _htags bitmask 1595 * [core] http_header_hkey_get_lc() for HTTP/2 1596 * [core] array.[ch] using uint32_t instead of size_t 1597 * [core] extend (data_string *) to store header id 1598 * [multiple] extend enum http_header_e list 1599 * [core] http_header_e <=> lshpack_static_hdr_idx 1600 * [core] skip ls-hpack decode work unused by lighttpd 1601 * [TLS] error if inherit empty TLS cfg from globals 1602 * [core] connection_check_expect_100() 1603 * [core] support multiple 1xx responses from backend 1604 * [core] reload c after chunkqueue_compact_mem() 1605 * [core] relay 1xx from backend over HTTP/2 1606 * [core] relay 1xx from backend over HTTP/1.1 1607 * [core] chunkqueue_{peek,read}_data(), squash 1608 * [multiple] TLS modules use chunkqueue_peek_data() 1609 * [mod_magnet] magnet.attract-response-start-to 1610 * [multiple] code reuse chunkqueue_peek_data() 1611 * [core] reuse r->start_hp.tv_sec for r->start_ts 1612 * [core] config_plugin_value_tobool() accept "0","1" 1613 * [core] graceful and immediate restart option 1614 * [mod_ssi] init status var before waitpid() 1615 * [core] graceful shutdown timeout option 1616 * [core] lighttpd -1 supports pipes (e.g. netcat) 1617 * [core] perf adjustments to avoid load miss 1618 * [multiple] use sock_addr_get_family in more places 1619 * [multiple] inline chunkqueue where always alloc'd 1620 * [core] propagate state after writing 1621 * [core] server_run_con_queue() 1622 * [core] defer handling FDEVENT_HUP and FDEVENT_ERR 1623 * [core] handle unexpected EOF reading FILE_CHUNK 1624 * [core] short-circuit connection_write_throttle() 1625 * [core] walk queue in connection_write_chunkqueue() 1626 * [core] connection_joblist global 1627 * [core] be more precise checking streaming flags 1628 * [core] fdevent_load_file_bytes() 1629 * [TLS] use fdevent_load_file_bytes() for STEK file 1630 * [core] allow symlinks under /dev for rand devices 1631 * [multiple] use light_btst() for hdr existence chk 1632 * [mod_deflate] fix potential NULL deref in err case 1633 * [core] save errno around close() if fstat() fails 1634 * [mod_ssi] use stat_cache_open_rdonly_fstat() 1635 * [core] fdevent_dup_cloexec() 1636 * [core] dup FILE_CHUNK fd when splitting FILE_CHUNK 1637 * [core] stat_cache_path_isdir() 1638 * [multiple] use stat_cache_path_isdir() 1639 * [mod_mbedtls] quiet CLOSE_NOTIFY after conn reset 1640 * [mod_gnutls] quiet CLOSE_NOTIFY after conn reset 1641 * [core] limit num ranges in Range requests 1642 * [core] remove unused r->content_length 1643 * [core] http_response_parse_range() const file sz 1644 * [core] pass open fd to http_response_parse_range 1645 * [core] stat_cache_get_entry_open() 1646 * [core,mod_deflate] leverage cache of open fd 1647 * [doc] comment out config disabling Range for .pdf 1648 * [core] coalesce nearby ranges in Range requests 1649 * [tests] simulate slow, small packets more quickly 1650 * [mod_fastcgi] decode chunked is cold code path 1651 * [core] fix chunkqueue_compact_mem w/ partial chunk 1652 * [core] alloc optim reading file, sending chunked 1653 * [core] reuse chunkqueue_compact_mem*() 1654 * [mod_cgi] use splice() to send input to CGI 1655 * [multiple] ignore openssl 3.0.0 deprecation warns 1656 * [mod_openssl] migrate ticket cb to openssl 3.0.0 1657 * [mod_openssl] construct OSSL_PARAM on stack 1658 * [mod_openssl] merge ssl_tlsext_ticket_key_cb impls 1659 * [multiple] openssl 3.0.0 digest interface migrate 1660 * [tests] detect multiple SSL/TLS/crypto providers 1661 * [core] sys-crypto-md.h consistent interfaces 1662 * [wolfssl] wolfSSL_CTX_set_mode differs from others 1663 * [multiple] use NSS crypto if no other crypto avail 1664 * [multiple] stat_cache_path_stat() for struct st 1665 * [TLS] ignore empty "CipherString" in ssl-conf-cmd 1666 * [multiple] remove chunk file.start member 1667 * [core] modify use of getrlimit() to not be fatal 1668 * [mod_webdav] add missing update to cq accounting 1669 * [mod_webdav] update defaults after worker_init 1670 * [mod_openssl] use newer openssl 3.0.0 func 1671 * [core] config_plugin_value_to_int32() 1672 * [core] minimize pause during graceful restart 1673 * [mod_deflate] use large mmap chunks to compress 1674 * [core] stat_cache_entry reference counting 1675 * [core] FILE_CHUNK can hold stat_cache_entry ref 1676 * [core] http_chunk_append_file_ref_range() 1677 * [multiple] use http_chunk_append_file_ref() 1678 * [core] always lseek() with shared fd 1679 * [core] silence coverity warnings (false positives) 1680 * [core] silence coverity warnings in ls-hpack 1681 * [core] silence coverity warnings (another try) 1682 * [core] fix fd sharing when splitting file chunk 1683 * [mod_mbedtls] quiet unused variable warning 1684 * [core] use inline funcs in sys-crypto-md.h 1685 * [core] add missing declaration for NSS rand 1686 * [core] init NSS lib for basic crypto algorithms 1687 * [doc] change mod_compress refs to mod_deflate 1688 * [doc] replace bzip2 refs with brotli 1689 * [build] remove svnversion from versionstamp rule 1690 * [doc] /var/run -> /run 1691 * [multiple] test for nss includes 1692 * [mod_nss] more nss includes fixes 1693 * [build] more portable autogen.sh shell script 1694 * [mod_webdav] define _NETBSD_SOURCE on NetBSD 1695 * [core] silence coverity warnings (another try) 1696 * [mod_mbedtls] newer mbedTLS vers support TLSv1.3 1697 * [mod_accesslog] update defaults after cycling log 1698 * [multiple] add some missing config cleanup 1699 * [core] fix (startup) mem leaks in configparser.y 1700 * [core] STAILQ_* -> SIMPLEQ_* on OpenBSD 1701 * [tests] OpenBSD crypt() support limited to bcrypt 1702 * [build] mark dependencies on crypto lib for MD5() 1703 * [build] use pkg-config with wolfssl 1704 * [mod_wolfssl] use more wolfssl/options.h defines 1705 * [mod_wolfssl] cripple SNI if not built OPENSSL_ALL 1706 * [mod_wolfssl] need to build --enable-alpn for ALPN 1707 * [mod_secdownload] fix compile w/ NSS on FreeBSD 1708 * [build] fix lib paths for GnuTLS, NSS 1709 * [build] add --with-brotli to meson.build 1710 * [build] CMake mod_openssl, mod_wolfssl can coexist 1711 * [build] CMake use pkg_check_modules() w/ wolfssl 1712 * [build] detect nss3/nss.h or nss/nss.h for NSS 1713 * [build] WITHOUT_LIB_CRYPTO option in code 1714 * [build] adjust meson.build for use by OpenWRT 1715 * [mod_mbedtls] wrap addtl code in preproc defines 1716 * [TLS] server.feature-flags "ssl.session-cache" 1717 * [core] workaround fragile code in wolfssl types.h 1718 * [core] move misplaced error trace to match option 1719 * [core] adjust wolfssl workaround for another case 1720 * [multiple] consistent order for crypto lib select 1721 * [multiple] include mbedtls/config.h after select 1722 * [multiple] include wolfssl/options.h after select 1723 * [core] set NSS_VER_INCLUDE after crypto lib select 1724 * [core] use system xxhash lib if available 1725 * [build] fix typo in configure.ac 1726 * [build] option to use system-provided libxxhash 1727 * [build] meson --with-xxhash option 1728 * [doc] refresh doc/config/conf.d/mime.conf 1729 * [meson] add matching -I for lua lib version 1730 * [build] prepend search for lua version 5.4 1731 * [core] use inotify in stat_cache.[ch] on Linux 1732 * [build] detect inotify header <sys/inotify.h> 1733 * [mod_nss] update session ticket NSS devel comment 1734 * [core] set last_used on rd/wr from backend (fixes #3029) 1735 * [core] cold func for gw_recv_response error case 1736 * [core] use kqueue() instead of FAM/gamin on *BSD 1737 * [core] no graceful-restart-bg on OpenBSD, NetBSD 1738 * [mod_openssl] add LIBRESSL_VERSION_NUMBER checks 1739 * [core] use struct kevent on stack in stat_cache 1740 * [core] stat_cache preprocessor paranoia 1741 * [mod_openssl] adjust LIBRESSL_VERSION_NUMBER check 1742 * [mod_maxminddb] fix config validation typo 1743 * [tests] allow LIGHTTPD_EXE_PATH override 1744 * [multiple] handle NULL val as empty in *_env_add (fixes #3030) 1745 * [core] accept "HTTP/2.0", "HTTP/3.0" from backends (fixes #3031) 1746 * [build] check for xxhash in more ways 1747 * [core] accept "HTTP/2.0", "HTTP/3.0" from backends (#3031) 1748 * [core] http_response_buffer_append_authority() 1749 * [core] define SHA*_DIGEST_LENGTH macros if missing 1750 * [doc] update optional pkg dependencies in INSTALL 1751 * [mod_alias] validate given order, not sorted order 1752 * [core] filter out duplicate modules 1753 * [mod_cgi] fix crash if initial write to CGI fails 1754 * [mod_cgi] ensure tmp file open() before splice() 1755 * [multiple] add back-pressure gw data pump (fixes #3033) 1756 * [core] fix bug when HTTP/2 frames span chunks 1757 * [multiple] more forgiving config str to boolean (fixes #3036) 1758 * [core] check for __builtin_expect() availability 1759 * [core] quiet more request parse errs unless debug 1760 * [core] consolidate chunk size checks 1761 * [mod_flv_streaming] use stat_cache_get_entry_open 1762 * [mod_webdav] pass full path to webdav_unlinkat() 1763 * [mod_webdav] fallbacks if _ATFILE_SOURCE not avail 1764 * [mod_fastcgi] move src/fastcgi.h into src/compat/ 1765 * [mod_status] add additional HTML-encoding 1766 * [core] server.v4mapped option 1767 * [mod_webdav] workaround for gvfs dir redir bug 1768 1769- 1.4.55 - 2020-01-31 1770 * [core] fix compile error on Solaris (fixes #2959) 1771 * [core] __attribute_pure__ 1772 * [core] array-specialized buffer_caseless_compare() 1773 * [core] specialized buffer_eq_*() for short strings 1774 * [core] mark some more funcs w/ __attribute_pure__ 1775 * [core] use buffer_eq_icase* funcs 1776 * [multiple] replace strcasecmp() on short strings 1777 * [core] mark some more funcs w/ __attribute_pure__ 1778 * [mod_webdav] fix startup crash w/ multiple conds (fixes #2958) 1779 * [core] cold func http_response_omit_header() 1780 * [core] use buffer_eq_icase_ssn func 1781 * [core] use buffer_eq_icase_ssn func 1782 * [core] correct __attribute_pure__ syntax 1783 * [core] allocate unix socket paths with SUN_LEN()+1 (fixes #2962) 1784 * Use explicit_memset from NetBSD if available for safe_memclear (fixes #2971) 1785 * Also use explicit_memset (NetBSD) with cmake, scons and meson 1786 * [cmake]: enable CMAKE_POSITION_INDEPENDENT_CODE by default 1787 * [core] improve http_headers[] data struct packing 1788 * [core] fdevent_poll() is effective periodic timer 1789 * [core] move con state handling to connections*.c 1790 * [core] issue config error for invalid ':' (fixes #2980) 1791 * [mod_deflate] fix choose encoding parse error (fixes #2981) 1792 * [core] retry on some fdevent set/del temporary err 1793 * [core] disable stat_cache FAM if FAM conn closed 1794 * [mod_auth] http_auth_const_time_memeq improvement 1795 * [build] prefer pkg-config for postgres (fixes #2965) 1796 * [mod_authn_gssapi] 500 if fail to delegate creds (#2967) 1797 * [mod_authn_gssapi] option to store delegated creds (fixes #2967) 1798 * [mod_webdav] fix file uploads > 128M (fixes #2970) 1799 * [mod_auth] do not use quoted-string for algorithm 1800 * [mod_auth] require digest uri= match original URI 1801 * [mod_auth] Authentication-Info: nextnonce=... 1802 * [mod_auth] http_auth_const_time_memeq_pad() 1803 * [mod_auth] http_auth_const_time_memeq() (#2975, #2976) 1804 * [build] PGSQL_CFLAGS with pkg-config for postgres (#2965) 1805 * [build] PGSQL_CFLAGS with pkg-config for postgres (#2965) 1806 * [core] avoid freeaddrinfo() on NULL ptr (fixes #2984) 1807 * [core] reject WS following header field-name (fixes #2985) 1808 * [core] reject Transfer-Encoding + Content-Length (#2985) 1809 * [mod_openssl] reject invalid ALPN 1810 * [mod_accesslog] parse multiple cookies (fixes #2986) 1811 * [core] Oracle Solaris does not have POLLRDHUP 1812 * [multiple] address coverity warnings 1813 * [core] preserve %2b and %2B in query string (fixes #2999) 1814 * [core] fall back to accept() if accept4() EPERM (fixes #2998) 1815 * [mod_auth] close connection after bad password 1816 * [core] do not accept() > server.max-connections 1817 * [core] save errno before logging if execve() fails 1818 * [config] update /var/run -> /run for systemd 1819 * [core] Solaris has getloadavg in sys/loadavg.h 1820 * [build] Fix build when using nested CMake 1821 * [core] fix one-byte OOB read (underflow) 1822 1823- 1.4.54 - 2019-05-27 1824 * [mod_evhost] handle IPv6 literal addr; add tests 1825 * [core] separate server_main_loop() func, mark hot 1826 * [core] mark startup/shutdown funcs cold 1827 * [core] some server_main_loop() cleanup 1828 * [core] fdevent_process() 1829 * [core] srv->max_fds_lowat and srv->max_fds_hiwat 1830 * [core] remove server.h 1831 * [mod_staticfile] search ext array if not empty 1832 * [core] store joblist pointer on stack 1833 * [core] quickly clear request buffer for reuse 1834 * [core] helper funcs for connection_state_machine() 1835 * [core] perf: optimize connection_read_header() 1836 * [core] parse request in connection_read_header() 1837 * [core] log_request_header_on_error in one place 1838 * [core] copy request only if might need for logging 1839 * [core] make parse_request,request.request same buf 1840 * [core] prefer buffer_caseless_compare() 1841 * [core] pass req hdrs buffer to http_request_parse 1842 * [core] replace con->response.keep_alive 1843 * [core] mark log_error_write*() funcs cold 1844 * [core] http_request_parse() mark error paths cold 1845 * [core] lift code out of request line parse loop 1846 * [core] get_http_method_key() match by strlen first 1847 * [core] RFC7230 HTTP-version parse 1848 * [mod_accesslog] attempt to reconstruct req line 1849 * [multiple] minor: remove duplicated conditions 1850 * [mod_deflate] honor request for x-gzip, x-bzip2 1851 * [mod_auth] minor: adjust config validation 1852 * [core] discard oversized trailers 1853 * [core] no keep-alive if POLLRDHUP,empty read queue 1854 * [core] fix gw_backend spelling of directive in err 1855 * [multiple] reduce code dup in list resizing 1856 * [core] con->is_ssl_sock 1857 * [core] connection_handle_write() updates con state 1858 * [core] skip plugins_call_cleanup if not init'ed 1859 * [core] simpler loops to run plugin hooks 1860 * [core] fix mixed use of srv->split_vals array (fixes #2932) 1861 * [core] dispatch events from within event framework 1862 * [core] don't call fd event handlers more than once, they might already be gone (fixes segfault) 1863 * [core] poll: fdarray uses fd as index, not fde_ndx 1864 * [core] map FDEVENT_* to OS system event frameworks 1865 * [core] prefer memchr() over strchr() 1866 * [core] use openssl to read,discard request body 1867 * [mod_openssl] inherit cipherlist from global scope 1868 * [mod_openssl] default: ssl.cipher-list = "HIGH" 1869 * [mod_proxy] pass Content-Length to backend if > 0 1870 * [core] config option to allow GET w/ request body 1871 * [core] some fdevent code streamlining 1872 * [core] remove fde_ndx member outside fdevents 1873 * [core] remove redundant check for allow_http11 1874 * [mod_openssl] use 16k static buffer instead of 64k 1875 * [core] pull server load checks out of main loop 1876 * [core] isolate fdevent processing 1877 * [core] release empty chunk buf when nothing read 1878 * [core] perf: pass (fdnode *) to epoll and kqueue 1879 * [core] modify config parser to handle multiple } 1880 * [core] pass (fdnode *) for registered fdevent fd 1881 * [mod_auth] http_auth_digest_hex2bin() 1882 * [mod_auth] http_auth_info_t digest abstraction 1883 * [mod_auth] pass http_auth_require_t for 401 Unauth 1884 * [core] no SOCK_NONBLOCK on QNX 7.0 1885 * [mod_auth] HTTP Auth Digest algorithm=SHA-256 1886 * [core] silence coverity warning 1887 * [mod_magnet] fix invalid script return-type crash (fixes #2938) 1888 * [build] remove -Wdeclaration-after-statement 1889 * [core] pass conf.follow_symlink in more places 1890 * [core] fix assertion with server.error-handler (fixes #2941) 1891 * [core] extend dir redirection to take HTTP status 1892 * [doc] minor adjust create-mime.conf.pl regex match (#2942) 1893 * [core] __attribute__((fallthrough)) for GCC 7.0 1894 * [core] fdevent_mkstemp_append() (shared) 1895 * [core] off_t upload_temp_file_size 1896 * [core] clear FDEVENT_RDHUP if no POLLRDHUP 1897 * [mod_wstunnel] fix ping-interval for big-endian (fixes #2944) 1898 * [core] fix abort in http-parseopts (fixes #2945) 1899 * [core] remove repeated slashes in http-parseopts 1900 * [core] fix 1.4.52 regression in mem use with POST (fixes #2948) 1901 * [multiple] cleaner calloc use in SETDEFAULTS_FUNC 1902 * [core] add const to some etag prototypes 1903 * [core] __attribute__((format ...)) 1904 * [core] struct log_error_st for error logging 1905 * [core] log_error, log_perror using printf-like fmt 1906 * [core] new worker_init hook to follow parent fork 1907 * [core] replace open() with fdevent_open_cloexec() 1908 * [mod_webdav] major rewrite (fixes #1818) 1909 * [core] 200 for OPTIONS /non-existent/path HTTP/1.1 (fixes #2939) 1910 * [mod_webdav] surround Lock-Token with "<...>" 1911 * [mod_webdav] fix uuid detection macro 1912 * [mod_webdav] fix misbehavior on blank nodes in PROPPATCH 1913 * [mod_webdav] clean up resources after do{}while(0) 1914 * [mod_webdav] check If-Match, If-Unmodified-Since (#1818) 1915 * [mod_webdav] deprecated unsafe partial PUT compat 1916 * [mod_webdav] provide ETag in more responses 1917 * [mod_webdav] platform portability fixes 1918 * [mod_webdav] disable elftc_copyfile() on FreeBSD 1919 * [mod_webdav] special-case If: (<DAV:no-lock>) 1920 * [mod_webdav] check If-None-Match (#1818) 1921 * [stat_cache] separate func for symlink policy chk 1922 * [stat_cache] separate symlink pol from data struct 1923 * [stat_cache] store entries without trailing slash 1924 * [stat_cache] pass age param for stat cache cleanup 1925 * [stat_cache] remove splaytree ins/del debug code 1926 * [stat_cache] FAM: reduce string copying 1927 * [stat_cache] FAM: check FAMNextEvent() return code 1928 * [stat_cache] FAM: use entry hash index as userdata 1929 * [stat_cache] FAM: improve handling modified file 1930 * [stat_cache] FAM: ignore follow-symlink config 1931 * [stat_cache] FAM: check hash collision before add 1932 * [stat_cache] FAM: ignore event with no valid match 1933 * [stat_cache] FAM: funcs to invalidate entries 1934 * [stat_cache] interfaces to invalidate entries 1935 * [mod_webdav] update stat_cache after file mod 1936 * [core] use high precision stat timestamp in etag 1937 * [scons] adjustment for static build under CentOS 1938 * [core] emit trace using path before clearing path 1939 * [core] http_chunk_append_file_fd() 1940 * [multiple] open target file earlier in some cases 1941 * [stat_cache] no longer stat() and open() for stat 1942 * [stat_cache] FAM: improve monitoring, cache 16 sec 1943 * [stat_cache] FAM: separate routine for FDEVENT_IN 1944 * [stat_cache] FAM: whitespace-only change 1945 * [mod_webdav] quiet coverity warnings 1946 * [doc] highlight relevance of module load order (fixes #2946) 1947 * [core] behavior change: stricter URL normalization 1948 * [stat_cache] fix compilation error for cmake 1949 * [cmake] help cmake on FreeBSD find sys/event.h 1950 * [scons] help scons on FreeBSD find sys/event.h 1951 * [build] detect FreeBSD elftc_copyfile() 1952 * [mod_openssl] use SSL_CTX_set_client_hello_cb() 1953 * [core] support weak etags with If-None-Match 1954 * [core] store log_state_handling flag on stack 1955 * [core] check if splay_tree NULL before invalidate 1956 * [mod_webdav] workaround Microsoft-WebDAV-MiniRedir 1957 * [mod_webdav] doc Microsoft-WebDAV-MiniRedir bugs 1958 * [mod_webdav] invalidate parent dir in stat_cache 1959 * [doc] systemd socket activation config example 1960 * [core] chunkqueue perf: code reuse 1961 * [core] chunkqueue perf: specialized buffer.h funcs 1962 * [core] chunkqueue perf: skip opening 0-length file 1963 * [core] chunkqueue perf: read small files into mem 1964 * [core] buffer_reset() should not be passed NULL 1965 * [tests] has_feature() helper func 1966 * [tests] skip mod-secdownload HMAC-SHA1,HMAC-SHA256 1967 * [core] use high precision stat timestamp on OS X 1968 * [mod_magnet] expose server addr (local IP) to lua 1969 * [core] adjust http_chunk read() retry loop 1970 * [mod_maxminddb] MaxMind GeoIP2 support 1971 * [mod_authn_ldap] ldap_set_option LDAP_OPT_RESTART (fixes #2940) 1972 1973- 1.4.53 - 2019-01-27 1974 * [mod_cml,mod_flv_streaming] fix NULL ptr deref 1975 * [mod_simple_vhost] t/test_mod_simple_vhost 1976 * [mod_evhost] split uri handler func for testing 1977 * [mod_evhost] restructure for unit tests 1978 * [mod_evhost] t/test_mod_evhost 1979 * [mod_access] restructure for unit tests 1980 * [mod_access] t/test_mod_access 1981 * [tests] include first.h and NDEBUG early 1982 * [core] use kill_signal for gw_proc_kill() 1983 * [tests] t/test_keyvalue 1984 * [tests] some test config cleanup 1985 * [tests] update skip count in mod-fastcgi.t 1986 * [multiple] reduce initial buffer sz if large POST (fixes #2922) 1987 * [mod_fastcgi] fix NULL ptr deref from bugfix #2922 (fixes #2923) 1988 * [tests] more test config cleanup 1989 * [core] perf: incremental hash of pathname w/o copy 1990 * [core] perf: reuse buffer to redirect to directory 1991 * [core] do not free() reused buffer 1992 * [core] use connected sock port in dir redirect 1993 * [core] http_response_buffer_append_authority() 1994 * [core] use con->server_name for dir redir 1995 * [core] memeq compare rounded to 64, not next 1M 1996 * [core] define MD5_DIGEST_LENGTH 16 1997 * [mod_auth] permit additional auth backends to load 1998 * [core] send Connection: close if reqbody not read (fixes #2924) 1999 * [core] cache rev DNS for localhost for dir redir 2000 * [doc/conf] resolve some mime type conflicts from debian buster, regenerate mime.conf 2001 * [core] move winsock init to network_init() 2002 * [core] move /dev/stdin graceful restart handling 2003 * [core] network_srv_sockets_append() shared code 2004 * [core] systemd socket activation support 2005 * [build] autotools: try mysqlclient.pc and mariadb.pc (fixes #2925) 2006 * [mod_expire] look up expire fallback "" explicitly 2007 * [multiple] calloc match ptr type (clang --analyze) 2008 * [multiple] quiet clang --analyze where trivial 2009 * [mod_webdav] compare COPY, MOVE Destination scheme 2010 * [core] con->uri.scheme is maintained lowercase 2011 * [mod_openssl] ALPN and acme-tls/1 (fixes #2931) 2012 * [core] Fix recursive include_shell invocations 2013 * [mod_openssl] ssl.privkey directive (optional) 2014 2015- 1.4.52 - 2018-11-28 2016 * [mysql] MySQL 8 deprecates my_bool 2017 * [core] typo in trace 2018 * [build] Fix unportable test(1) operator 2019 * [core] perf: call connection_reset() fewer times 2020 * [core] perf: array_reset_data_strings() 2021 * [core] perf: buffer_free_ptr() __attribute__ cold 2022 * [core] perf: one-element cache for host normalize 2023 * [core] perf: buffer_copy_string_len() 2024 * [core] perf: skip redundant prepare copy calls 2025 * [core] perf: buffer_align_size() identity if align 2026 * [core] perf: size write buffers for reuse 2027 * [core] perf: prepend headers directly into write q 2028 * [core] perf: copy small strings; better buf reuse 2029 * [core] perf: copy small strings; extend last chunk 2030 * [core] perf: specialized func for array sorting 2031 * [core] perf: append response directly into write q 2032 * [core] perf: better buf reuse reading from backend 2033 * [core] chunk.c code reuse 2034 * [multiple] perf: write headers to backend write cq 2035 * [multiple] perf: power-2 alloc large headers 2036 * [multiple] perf: use larger initial backend buffer 2037 * [core] permit env vars to be set with blank value 2038 * [mod_fastcgi] perf: reduce data copies 2039 * [mod_fastcgi] perf: reduce data copies 2040 * [core] perf: chunk.c chunk pool 2041 * [multiple] perf: reuse large buffers w/ backend 2042 * [multiple] better packing of struct chunk 2043 * [core] perf: inline buffer_append_string_buffer() 2044 * [core] slightly simpler flag append to string 2045 * [mod_cgi] perf: reuse buffers for creating CGI env 2046 * [mod_fastcgi,mod_scgi] perf: env accumulation 2047 * [core] Don't call RAND_cleanup with OpenSSL 1.1.x 2048 * [mod_openssl] move SSL_shutdown() to separate func 2049 * [mod_openssl] SSL_read before second SSL_shutdown 2050 * [mod_cgi] perf: use stat_cache for cgi handler 2051 * [mod_openssl] prefer using TLS_server_method() 2052 * [mod_webdav] return 403 if file should exist 2053 * [core] perf: chunkqueue buffers already sized up 2054 * [core] perf: simpler buffer_string_space() 2055 * [multiple] dynamic handlers hint backend header sz 2056 * [core] use chunk_buf_sz instead of hard-coded num 2057 * [multiple] perf: simplify chunkqueue_get_memory() 2058 * [mod_wstunnel] perf: reuse large buffers 2059 * [mod_cgi] perf: cache getenv() results at start up 2060 * [core] fix 301 -> 302 overwrite with Location (fixes #2918) 2061 * [core] fix setting of headers previously reset (fixes #2919) 2062 * [mod_webdav] quiet coverity false positive 2063 * [core] server.compat-module-load = "disable" 2064 * [core] server.chunkqueue-chunk-sz = 4096 2065 * [core] perf: simpler buffer_string_space() (fixed) 2066 * [core] perf: faster HTTP pipelined requests 2067 * [core] perf: simpler buffer_string_space() (tests) 2068 * [mod_cgi] reset reused buffer on internal redir 2069 * [core] clear chunk buffer upon release 2070 * [mod_fastcgi] minor: copy packet without padding 2071 * [mod_redirect,mod_rewrite] use server_name 2072 * [mod_fastcgi] transfer chunks minus packet padding 2073 * [core] separate func to reset FILE_CHUNK 2074 * [core] perf: simple, quick buffer_clear() 2075 * [core] perf: small improvement to encoding CGI var 2076 * [core] perf: small improvement buffer_string_space 2077 * [core] simpler physical path concatenation 2078 * [mod_webdav] fix LOCK on incorrect URI path 2079 * [mod_webdav] one fewer buffer copy for COPY,MOVE 2080 * [core] perf: simplify buffer_move() 2081 * [mod_cml] parse query string without modifying it 2082 * [core] perf: buffer optimizations 2083 * [mod_wstunnel] use buffer_string_length() 2084 * [core] perf: inline buffer_copy_buffer() 2085 * [core] cygwin helper func for getcwd 2086 * [core] cygwin sample to run lighttpd under NSSM 2087 * [core] limit con->uri.authority < 1024 octets 2088 * [mod_webdav] separate func for each request method 2089 * [core] reject decoded url-path without leading '/' 2090 * [multiple] validate UTF-8 in url-decoded paths 2091 * [mod_proxy] silence coverity false positive 2092 * [core] fix typo 2093 * [core] buffer_append_path_len() 2094 * [core] quiet indexfile warning if mod not loaded 2095 2096- 1.4.51 - 2018-10-14 2097 * [core] split parsing header line into separate function 2098 * [core] explicitly return 0 instead of constant result 2099 * [core] header parsing: use goto for error handling 2100 * [core,security] process headers after combining folded headers 2101 * [core] replace folding whitespace with a single space 2102 * [buffer] fix duplicate assert and comment 2103 * [core] redo HTTP header line folding 2104 * [core] parse header line strings before copying 2105 * [core] abstraction to insert/modify response hdrs 2106 * [core] code reuse with array_insert_key_value() 2107 * [core] simplify parsing hdr key whitespace then : 2108 * [core] http_request_parse_reqline() separate func 2109 * [core] abstraction layer for HTTP header manip 2110 * [core] code reuse with http_response_body_clear() 2111 * [mod_proxy] fix proxy.forwarded and proxy.replace-http-host (fixes #2902) 2112 * [mod_rewrite] fix url.rewrite-repeat and url.rewrite-if-not-file (fixes #2908) 2113 * [core] fastcgi.h link to Open Market License (OML) (fixes #2901) 2114 * [mod_proxy,mod_wstunnel] copy full plugin_config (fixes #2903) 2115 * [mod_fastcgi,mod_scgi] error on oversized request (fixes #2905) 2116 * [mod_auth] send 401 for mismatch HTTP auth scheme (fixes #2906) 2117 * [core] code reuse array_match_*() routines 2118 * [mod_skeleton] review and simplify 2119 * [multiple] code reuse: employ array_match_*() 2120 * [doc] lighttpd.service uses network-online.target 2121 * [mod_flv_streaming] code simplifications 2122 * [mod_authn_pam] mod_auth PAM support (fixes #688) 2123 * [mod_sockproxy] add to build 2124 * [core] fix include_shell on inline shell commands (fixes #2910) 2125 * [multiple] code reuse: using array_*() funcs 2126 * [tests] t/test_array.c 2127 * [core] array_get_int_ptr() 2128 * [core] more memory-efficient fn table for data_* 2129 * [tests] #undef NDEBUG before assert.h in t/test_* 2130 * [core] inline status_counter routines 2131 * [core] log_failed_assert() __attribute__((cold)) 2132 * [core] http_status_append() 2133 * [core] http_method_append() 2134 * [core] prefer buffer_append_string_len() 2135 * [build] fix SCons build for mod_authn_pam 2136 * [mod_userdir] security: skip username "." and ".." 2137 * [mod_deflate] null-check to quiet coverity warning 2138 * [core] quiet coverity false positive 2139 * [multiple] quiet compiler warnings --without-pcre 2140 * [mod_secdownload] support if HMAC() is a macro 2141 * [TLS] sys-crypto.h abstraction 2142 * [TLS] sys-crypto.h abstraction 2143 * [build] put request.c in common src 2144 * [meson] build fixes for libmariadb and libsasl2 2145 * [core] PATH_INFO calculation when basedir is "/" (fixes #2911) 2146 * [core] better consistency in buffer_is_equal*() 2147 * [core] fix missing param from prev commit 2148 * [mod_openssl] no renegotiation in TLS 1.3 (fixes #2912) 2149 * [core] reject Transfer-Encoding from proxy (#2913) 2150 * [mod_auth] use SHA1_Init,Update,Final 2151 * [mod_openssl] add support for wolfSSL 2152 * [build] automake support for wolfSSL 2153 * [build] SCons support for wolfSSL 2154 * [build] meson support for wolfSSL 2155 * [build] CMake support for wolfSSL 2156 * [core] perf: buffer.c internal inlines 2157 * [mod_openssl] wolfSSL does not support SSLv2 2158 * [core] perf: buffer_string_append_len() 2159 * [core] permit server.error_handler to static file 2160 2161- 1.4.50 - 2018-08-13 2162 * [mod_extforward] allow explicit IPs to be untrusted (#2860) 2163 * [core] fix crash if 'host' empty in config (fixes #2876) 2164 * [mod_magnet] fix regression in lighty.stat (fixes #2877) 2165 * [core] minor code cleanup in gw_recv_response() 2166 * [core] fix rare race condition from backends (fixes #2878) 2167 * [mod_proxy] fix segfault in Set-Cookie reverse map (fixes #2879) 2168 * [core] fdevent_accept_listenfd() nonblock cloexec 2169 * [build] remove m4 AC_PATH_PROG for PKG_CONFIG 2170 * [core] some header cleanup 2171 * [mod_wstunnel] better Sec-WebSocket-Protocol parse 2172 * [mod_magnet] code reuse 2173 * [mod_magnet] reduce buffer copies 2174 * [mod_fastcgi,mod_scgi] fastcgi.balance,scgi.balance (fixes #2882) 2175 * [core] check if SOCK_NONBLOCK is ignored (fixes #2883) 2176 * [core] buffer_append_string_encoded_hex_lc() 2177 * [core] more efficient hex2int() 2178 * [mod_secdownload] compare bin MAC instead of hex 2179 * [core] li_tohex_lc() explicitly uses lc hex chars 2180 * [core] buffer_append_uint_hex_lc() uses lc hex 2181 * [core] buffer_append_string_encoded() uc hex 2182 * [tests] reduce test_base64 brute force tests 2183 * [tests] remove test_buffer output, except on error 2184 * [core] check for continuation in server.tag 2185 * [core] CONNECT must be handled before fs hooks 2186 * [mod_redirect, mod_rewrite] code reuse (sharing) 2187 * [core] data_config_pcre_compile,exec() 2188 * [tests] test_request unit tests 2189 * [core] http_kv.[ch] method, status, version str 2190 * [core] remove unused get_http_status_body_name() 2191 * [core] remove proc_open.[ch], reduce stdio.h use 2192 * [tests] move src/test_*.c to src/t/ 2193 * [core] server.http-parseopts URL normalization opt (fixes #1720) 2194 * [core] inline some buffer.[ch] routines 2195 * [core] remove some duplicative code in log.c 2196 * [core] debug server.log-request-header-on-error 2197 * [mod_redirect,mod_rewrite] short-circuit earlier 2198 * [core] fix buffer_to_upper() 2199 * [mod_cgi] handle CGI partial response header write 2200 * [mod_redirect,mod_rewrite] pass request URI info 2201 * [mod_redirect,mod_rewrite] encoding options (fixes #443, fixes #911) 2202 * [mod_redirect,mod_rewrite] fix segfault w/ invalid syntax (fixes #2892) 2203 * [mod_fastcgi] fix memleak with FastCGI auth,resp (fixes #2894) 2204 * [mod_alias] security: potential path traversal with specific configs 2205 * [mod_wstunnel] quiet 32-bit compiler warnings 2206 * [core] POLLRDHUP handling for transparent proxying 2207 * [mod_redirect,mod_rewrite] support up to 19 match 2208 * [core] add missing includes to quiet compiler warn 2209 * [mod_redirect,mod_rewrite] base64url encoding opt 2210 * [mod_rewrite] require rewrite result to begin '/' 2211 * [core] security: use-after-free invalid Range req 2212 * [core] reset var if FAMMonitorDirectory() fails 2213 * [core] option to propagate TCP FIN to backend host 2214 * mod_sockproxy - socket forwarding 2215 * [core] workaround Coverity cov-build bug with gcc7 2216 * [build] add missing file for test_burl 2217 * [core] quell insignificant coverity warning 2218 * [core] extend server.http-parseopts 2219 * [mod_alias] security: path traversal in mod_alias (in some use cases) (fixes #2898) 2220 * [core] security: use-after-free after invalid Range request (fixes #2899) 2221 2222- 1.4.49 - 2018-03-11 2223 * [core] adjust offset if response header blank line 2224 * [mod_accesslog] %{canonical,local,remote}p (fixes #2840) 2225 * [core] support POLLRDHUP, where available (#2743) 2226 * [mod_proxy] basic support for HTTP CONNECT method (#2060) 2227 * [mod_deflate] fix deflate of file > 2MB w/o mmap 2228 * [core] fix segfault if tempdirs fill up (fixes #2843) 2229 * [mod_compress,mod_deflate] try mmap MAP_PRIVATE 2230 * [core] discard from socket using recv MSG_TRUNC 2231 * [core] report to stderr if errorlog path ENOENT (fixes #2847) 2232 * [core] fix base64 decode when char is unsigned (fixes #2848) 2233 * [mod_authn_ldap] fix mem leak when ldap auth fails (fixes #2849) 2234 * [core] warn if mod_indexfile after dynamic handler 2235 * [core] do not reparse request if async cb 2236 * [core] non-blocking write() to piped loggers 2237 * [mod_openssl] minor code cleanup; reduce var scope 2238 * [mod_openssl] elliptic curve auto selection (fixes #2833) 2239 * [core] check for path-info forward down path 2240 * [mod_authn_ldap] auth with ldap referrals (fixes #2846) 2241 * [core] code cleanup: separate physical path sub 2242 * [core] merge redirect/rewrite pattern substitution 2243 * [core] fix POST with chunked request body (fixes #2854) 2244 * [core] remove unused func 2245 * [doc] minor update to *outdated* doc 2246 * [mod_wstunnel] fix for frames larger than 64k (fixes #2858) 2247 * [core] fix 32-bit compile POST w/ chunked request body (#2854) 2248 * [core] add include sys/poll.h on Solaris (fixes #2859) 2249 * [core] fix path-info calculation in git master (fixes #2861) 2250 * [core] pass array_get_element_klen() const array * 2251 * [core] increase stat_cache abstraction 2252 * [core] open additional fds O_CLOEXEC 2253 * [core] fix CONNECT w strict header parsing enabled 2254 * [mod_extforward] CIDR support for trusted proxies (fixes #2860) 2255 * [core] re-enable overloaded backends w/ multi wkrs 2256 * [autoconf] reduce minimum automake version to 1.13 2257 * [mod_auth] constant time compare plain passwords 2258 * [mod_auth] check that digest realm matches config 2259 * [core] fix incorrect hash algorithm impl 2260 2261- 1.4.48 - 2017-11-11 2262 * [mod_webdav] fix crash if stat fails, not ENOENT 2263 * [core] fix build --disable-ipv6 (fixes #2832) 2264 * [scons] Merge branch 'personal/stbuehler/scons-cleanup' 2265 * [autobuild] Merge branch 'personal/stbuehler/autobuild-cleanup' 2266 * [meson] new build system 2267 * [core] fix var.CWD (regression in 1.4.46) (fixes #2835) 2268 * [core] fix implicit wildcard IPv4 and IPv6 listen 2269 * [autobuild] remove obsolete warning about mmap use 2270 * [core] isolate sock_addr manipulation 2271 * [stat_cache] remove debug code littered in file 2272 * [core] cleanup unused ifndef 2273 * [core] cleanup: consolidate FAM code in stat_cache 2274 * [core] consolidate backend network write handlers 2275 * [autobuild] allow sendfile() in cross-compile (fixes #2836) 2276 * [core] quiet pedantic cc warning for excess comma 2277 * [core] isolate backend fdevent handler defs 2278 * [mod_openssl] error if ssl.engine in wrong section (fixes #2837) 2279 * [core] fix lighttpd -1 one-shot graceful shutdown 2280 * [mod_cgi] quiet trace if mod_cgi sends SIGTERM (fixes #2838) 2281 * [build] fix link of test_configfile.c 2282 * [core] quiet coverity false positive 2283 * [mod_openssl] more pedantic check of return values 2284 * [mod_openssl] allow specifying server cert chain (fixes #2692) 2285 * [mod_openssl] ssl.openssl.ssl-conf-cmd (fixes #2758) 2286 * [doc] NEWS - fix improper format line breaks 2287 * [mod_authn_ldap] replace use of deprecated funcs 2288 * [mod_authn_sasl] SASL auth (new) (fixes #2275) 2289 * [mod_openssl] quiet trace from TCP probes (#2784) 2290 * [core] fix dup typedef compiler warning 2291 * [scons] fix various python2/3 incompatibilities 2292 * [doc] fix doc/config/conf.d/fastcgi.conf example 2293 2294- 1.4.47 - 2017-10-22 2295 * [mod_authn_gssapi] needs -lcom_err under Darwin 2296 * [core] stricter validation of request-URI begin 2297 * [core] fix 1.4.46 regression in config match (fixes #2830) 2298 * [core] normalize config addrs for != match (#2830) 2299 * [core] normalize config addrs for eq and ne (#2830) 2300 * [doc] use https:// URLs to .lighttpd.net resources 2301 * [core] fix 1.4.46 regression in Last-Modified 2302 2303- 1.4.46 - 2017-10-21 2304 * [TLS] mark code that uses -lcrypto but not -lssl 2305 * remove redundant calls to end-of-request hooks 2306 * [mod_mysql_vhost] remove dev debug code 2307 * [core] con interface for read/write; isolate SSL 2308 * [core] new plugin hooks to help isolate SSL 2309 * [mod_openssl] new module (preliminary layout) 2310 * [core] move network_open_file_chunk() to chunk.c 2311 * [mod_openssl] move openssl code into mod_openssl 2312 * [mod_openssl] move openssl config into mod_openssl 2313 * [core] move connection_read_cq() to connections.c 2314 * [mod_geoip] call from handle_request_env hook 2315 * [build] only mod_openssl depends on -lssl 2316 * [mod_auth] enable optional authz if extern authn (fixes #2481) 2317 * [mod_openssl] allow ssl.verifyclient on url paths (fixes #2245) 2318 * [core] do not emit req/response hdrs w/ blank val 2319 * [mod_setenv] directives to overwrite/remove hdrs (fixes #650, fixes #2295) 2320 * [mod_secdownload] new directives modify hash path (fixes #646, fixes #1904) 2321 * [core] move con throttling to connections-glue.c 2322 * [core] support Expect: 100-continue with HTTP/1.1 (fixes #377, #1017, #1953, #2438) 2323 * [mod_openssl] use TLS SNI to set host-based certs 2324 * [mod_ssi] send #exec cmd="..." output to temp file 2325 * [mod_scgi] tests/mod-scgi.t unit tests 2326 * [mod_auth] support LDAP groups for HTTP auth (fixes #1817) 2327 * [core] use getaddrinfo,inet_pton vs gethostbyname (fixes #2783) 2328 * [mod_auth] LDAP escape username in DN and filters 2329 * mod_vhostdb* (dbi,mysql,pgsql,ldap) (fixes #485, fixes #1936, fixes #2297) 2330 * [mod_auth] have LDAP template replace '?' 2331 * apply debian/patches/spelling.patch 2332 * [core] permit connection-level state in modules 2333 * [TLS] include <openssl/opensslv.h> in rand.c 2334 * [core] config match w/ arbitrary HTTP request hdrs (fixes #1556) 2335 * [mod_flv_streaming] add end pos param (fixes #1887) 2336 * [core] X-LIGHTTPD-KBytes-per-second from backends (fixes #954) 2337 * [core] improve accuracy of bandwidth write limits 2338 * [core] quicker graceful shutdown 2339 * [tests] remove unused file depending on CGI.pm 2340 * [doc] doc/initscripts.txt (fixes #2782) 2341 * [core] check issetugid() early in main() 2342 * [core] combine duplicated getrlimit, network_init 2343 * [core] move interval timer near worker event loop 2344 * [core] initialize globals at top of main() 2345 * [core] graceful restart with SIGUSR1 (fixes #2785) 2346 * [mod_authn_mysql] fix minor memleak at shutdown 2347 * [mod_rrdtool] no error if loaded but no config 2348 * [doc] SIGUSR1 doc and lighttpd-angel SIGUSR1 2349 * [mime.conf] add text/markdown to utf-8 list, regenerate mime.conf 2350 * [mod_cgi] RFC3875 CGI local-redir strict adherence (#2108) 2351 * [mod_cgi] do not send "Status" back to client 2352 * [core] add label for 308 Permanent Redirect 2353 * [mod_openssl] inherit ssl.* from global scope 2354 * [core] handle if backend sends Transfer-Encoding (#2786) 2355 * [core] use kqueue in level-triggered mode (fixes #2788) 2356 * [mod_fastcgi,mod_scgi] backend spawn EINTR retry (#2788) 2357 * [core] config opt to intercept dynamic handler err (fixes #974) 2358 * [core] set default server_tag in server.c 2359 * [core] include lighttpd vers in server started msg 2360 * [core] move version.h logic into server.c 2361 * [core] issue trace if max-fds too large (fixes #2789) 2362 * [mod_fastcgi,mod_scgi] consistent waitpid handling (fixes #2791) 2363 * [mod_cgi] fix CGI local-redir w/ url.rewrite-once (fixes #2793) 2364 * [mod_scgi] fix unused_procs bidirectional-links 2365 * [mod_scgi] fix potential repeated use of proc->id 2366 * [mod_fastcgi,mod_scgi] consolidate backend process accounting (#2788) 2367 * [mod_cgi] status 200 OK if no hdrs (deprecated) (#2786) 2368 * [core] fix regex condition subst w/ mod_extforward (fixes #2794) 2369 * [tests] correct skip count for mod-scgi.t 2370 * [mod_vhostdb_ldap] fix inverted logic (coverity) 2371 * [mod_cgi] cgi.local-redir = [enable|disable] (#2108, #2793) 2372 * [core] $REQUEST_HEADER[...] subsumes other config (#1556) 2373 * [mod_usertrack] usertrack.cookie-attrs config opt (fixes #2795) 2374 * [core] default server.max-fds=4096 if unspecified (#2789) 2375 * update .gitignore, add .gitattributes 2376 * [core] reduce con allocation for small max_conns 2377 * [config] more specific checks for array lists 2378 * [mod_authn_gssapi] needs -lcom_err under cygwin 2379 * [mod_cgi,fastcgi,scgi,proxy] fix streaming response (fixes #2796) 2380 * [mod_auth] Digest nonce on system with time <=1978 2381 * [doc] simple-vhost.debug takes an integer value (fixes #2797) 2382 * [core] fix crash if invalid config file (fixes #2798) 2383 * [core] remove unused member con->in_joblist 2384 * [mod_proxy] remove use of con->got_response 2385 * [core] consolidate dynamic handler response parse 2386 * [core] remove now-unused buffer_search_string_len 2387 * [mod_cgi] eliminate warning when compiled -Os 2388 * [mod_scgi] do not reconnect after connect succeeds 2389 * [tests] reduce time waiting for backends to start 2390 * [core] server.syslog-facility (fixes #2800) 2391 * [core] server.syslog-facility (use -1 for unset) (#2800) 2392 * [core] allow overriding prior config values (fixes #2799) 2393 * [mod_proxy] set Content-Length, if available 2394 * [mod_proxy] set X-Forwarded-Host (fixes #418) 2395 * [core] remove redundant Content-Length digit check 2396 * [core] remove some unused header includes 2397 * [core] use con->dst_addr_buf instead of ip recalc 2398 * [core] include "fdevent.h" where needed 2399 * [core] make stat_cache private to stat_cache.c 2400 * [core] collect ioctl FIONREAD code 2401 * [core] include <netdb.h> where needed 2402 * [core] report file path when mkstemp() fails (fixes #2802) 2403 * [core] export http_request_host_policy() for reuse 2404 * [mod_extforward] simplify header search 2405 * [mod_extforward] consolidate ipstr_to_sockaddr() 2406 * [mod_extforward] upd scheme after ipstr validated 2407 * [mod_extforward] rearrange code; prep Forwarded 2408 * [mod_extforward] support Forwarded HTTP Extension (#2703) 2409 * [mod_proxy] support Forwarded HTTP Extension (fixes #2703) 2410 * [core] inet_pton(), inet_ntop() on (sock_addr *) 2411 * [core] save connection-level proto in con->proto 2412 * [mod_extforward] support HAProxy "PROXY" protocol (fixes #2804) 2413 * [mod_extforward] fix typos in Forwarded handling 2414 * [core] fix stat_cache initialization error 2415 * [core] perf: stat_cache_mimetype_by_ext() 2416 * [core] inet_ntop_cache now 4-element cache 2417 * [mod_openssl] free local_send_buffer at exit 2418 * [core] extend mimetype search w/o leading '.' 2419 * [core] no SOCK_CLOEXEC on Linux kernel < 2.6.27 2420 * [core] inline simple buffer is empty checks 2421 * [core] buffer_substr_replace() 2422 * [core] sys-strings.h abstraction for strings.h 2423 * [mod_proxy] fix backslash escaping 2424 * [core] omit default port from normalized host str 2425 * [core] fix build issue without ipv6 support 2426 * [core] permit strings and integers in config array 2427 * [mod_accesslog] flag high precision ts for %T (fixes #2807) 2428 * [core] permit strings,ints,arrays in config array 2429 * [core] calloc plugin_config for consistent init 2430 * [mod_proxy] simple host/url mapping in headers (fixes #152) 2431 * [mod_uploadprogress] handle query str progress ID (fixes #2808) 2432 * [mod_fastcgi] consolidate backend read code 2433 * [mod_proxy,mod_scgi] fix truncated error trace 2434 * [core] skip socket shutdown() if con->fd negative 2435 * [core] act as transparent proxy after con Upgrade 2436 * [core] remove redundant resets of fde_ndx 2437 * [core] configparser: fix resource handling in error cases (fixes #2809) 2438 * [core] fix crash for invalid syntax in config file (fixes #2810) 2439 * [core] prep mod transitions to transparent proxy 2440 * [mod_proxy] basic support for Upgrade: websocket (fixes #2811) 2441 * [mod_extforward] compile on OSX 2442 * [core] set server.max-keep-alive-requests = 100 (fixes #2205) 2443 * [core] perf: skip redundant strlen() if len known 2444 * [core] optional condition in config "else" clause (fixes #1268) 2445 * [mod_cgi] basic support for Upgrade: websocket 2446 * [core] buffer to disk streaming to slow backends 2447 * [core] silence compiler warnings if !HAVE_FORK 2448 * [build] -Werror if --enable-extra-warnings=error 2449 * [build] autotools use AC_PROG_CC_STDC macro 2450 * [mod_openssl] ssl.ca-crl-file for CRL (fixes #2319) 2451 * [mod_openssl] ssl.ca-dn-file (fixes #2694) 2452 * [mod_proxy] fix typo identified by coverity 2453 * [mod_openssl] ignore client verification error if not enforced 2454 * [mod_openssl] fix compile with openssl 1.1.0 2455 * [mod_extforward] quiet clang compiler warning 2456 * [mod_dirlisting] sort "../" to top of names 2457 * [mod_openssl] safer_X509_NAME_oneline() (fixes #2693) 2458 * [core] allow earlier plugin init for SSL/TLS 2459 * [mod_openssl] adjust use of ssl.ca-dn-file 2460 * [core] fix compiler warnings on Mac OS X 2461 * [core] server.socket-perms to set perms on unix (fixes #656) 2462 * [core] get port from sock_addr if AF_INET,AF_INET6 2463 * [core] server.error_handler_404 X-Sendfile ENOENT (#2474) 2464 * [core] consolidate fork()/execve() code (#1393) 2465 * [core] mv log_error_{open,cycle.close} to server.c 2466 * [core] rename fd_close_on_exec() 2467 * [core] remove unused includes of stat_cache.h 2468 * [core] add missing include of stdlib.h 2469 * [core] reduce exposure of unistd.h, other includes 2470 * [core] sock_addr_from_str_hints reusable name res 2471 * [core] continue collecting use of netdb.h 2472 * [core] continue collecting use of netdb.h 2473 * [core] continue collecting use of netdb.h 2474 * [core] fdevent_connect_status() shared code 2475 * [core] add const to reduce .data segment size 2476 * [mod_proxy] move data_fastcgi into mod_proxy.c 2477 * [mod_proxy] store address family at config time 2478 * [mod_fastcgi] slightly simplify counters 2479 * [mod_fastcgi] consolidate connect() error handling 2480 * [mod_fastcgi] set request_id in fcgi_create_env() 2481 * [mod_fastcgi] move delayed connect() into switch() 2482 * [mod_fastcgi,mod_scgi] consistent connect() error 2483 * [mod_scgi] remove unused parse_response member 2484 * [mod_fastcgi,mod_scgi] struct member consistency 2485 * [mod_fastcgi,mod_scgi] parse bin_path at startup 2486 * [mod_fastcgi,mod_scgi] use temp buffer for cgi_env 2487 * [core] shared code for socket backends 2488 * [core] spread load on socket backend procs 2489 * [core] store sockaddr for socket backend procs 2490 * [core] resolve DNS at startup for socket backends 2491 * [core] adaptive spawning for socket backend procs (fixes #1162) 2492 * quell compiler warnings for -Wimplicit-fallthrough 2493 * [doc] update README 2494 * [core] fdevent_cycle_logger() 2495 * [core] reap lighttpd worker pids precisely 2496 * [core] restart piped loggers if they exit (fixes #1393) 2497 * [mod_webdav] PROPFIND getetag attr must match GET 2498 * [core] consistent behavior w/ and w/o SA_SIGINFO 2499 * [core] do not remove pid-file in test mode 2500 * [core] add public domain SHA1() if no crypto 2501 * [mod_wstunnel] websocket tunnel to other protocol 2502 * [core] forward SIGHUP only to lighttpd workers 2503 * [mod_dirlisting] treat README and HEADER as paths (fixes #2818) 2504 * [core] set one-shot mode fd O_NONBLOCK, FD_CLOEXEC 2505 * [core] remove fdevent fcntl_set hook 2506 * [mod_extforward] typo in comment 2507 * [mod_cgi] add missing #include 2508 * [core] fix invalid sizeof() identified by coverity 2509 * [core] add missing #include 2510 * [core] base_decls.h to quiet compiler warnings 2511 * [core] set socket perms after bind, before listen 2512 * [core] warn if backend server config contains '_' 2513 * [mod_extforward] PROXY proto and SSL_CLIENT_VERIFY 2514 * [core] workaround for AIX mmap define 2515 * [mod_accesslog] flush access logs every 4 seconds 2516 * [mod_cgi] fix bug to properly exec interpreter 2517 * [mod_fastcgi] fix return when streaming min buffer 2518 * [core] attempt to quiet coverity false positives 2519 * [core] attempt to quiet coverity false positives 2520 * [core] attempt to quiet compiler warning in LEDE 2521 * [core] SIGCHLD handle_waitpid hook for modules 2522 * [mod_rrdtool] handle_trigger returns HANDLER_GO_ON 2523 * [mod_openssl] ssl.read-ahead="disable" for stream 2524 * [mod_cgi] add FDEVENT_IN upon CGI exit 2525 * [mod_cgi] omit cgi_handle_fdevent after proc exit 2526 * [mod_webdav] check HAVE_UUID for -luuid 2527 * [core] adjust li_rand_pseudo* interfaces 2528 * [mod_wstunnel] fix config parsing bug 2529 * [core] fdevent setsockopt() helper functions 2530 * [core] make strftime_cache_get() 16-element cache 2531 * [core] disable Nagle if streaming to backend 2532 * [core] fix triggered assert on HTTP chunked input (fixes #2822) 2533 * [mod_wstunnel] fix NULL ptr deref 2534 * [algo_sha1] fix compile break and warnings 2535 * [lemon] fix gcc implicit-fallthrough warning 2536 * [core] URI scheme is case-insensitive 2537 * [network] do not append port to unix socket paths 2538 * [unittests] consolidate base64 test code 2539 * [core] use sun_path for addr string for AF_UNIX (fixes #2826) 2540 * [core] cleaner code; remove goto from network.c 2541 * [core] /dev/stdin listener for inetd wait yes 2542 * [core] compare listen addrs after DNS resolution 2543 * [core] inline chunkqueue_is_empty() 2544 * [core] limit use of TCP_CORK 2545 * [core] return from http_response_read if small rd 2546 * [core] gateways might Upgrade con before body read 2547 * [mod_wstunnel] set Sec-WebSocket-Protocol if bin 2548 * [mod_wstunnel] remove invalid appended '\0' 2549 * [core] quiet coverity warning 2550 * [core] handle fds pending close after poll timeout (fixes #2827) 2551 * [core] fix $REQUEST_HEADER[...] parsing in config (#1556) 2552 * [mod_dirlisting] custom js date parse func (fixes #2823) 2553 * [core] remove fd interest if create_env returns 2554 * [mod_openssl] copy data for larger SSL packets 2555 * [mod_openssl] remove erroneous SSL_set_shutdown() 2556 * [core] permit LF to end lines if !header-strict 2557 * [core] add back REQUEST_SCHEME for backends 2558 * [core] remove fdevent_sched_run from fdevent_libev (#2827) 2559 * [mod_openssl] ssl.read-ahead="disable" by default 2560 * [core] adjust parser for valid variable expansion 2561 * [cmake] handle WITH_WEBDAV_LOCKS option 2562 * [cmake] fix attr header detection and linking 2563 * [cmake] link mod_cml with memcached 2564 * [core] reproducible build: hide __DATE__ __TIME__ (fixes #2828) 2565 * [core] perf: more efficient fdevent_sched_run() 2566 * [core] translate DNS to IP str for cond socket cmp 2567 2568- 1.4.45 - 2017-01-14 2569 * [mod_cgi] skip local-redir handling if to self (fixes #2779, #2108) 2570 * [mod_webdav] fix crash when plugin_ctx cleaned up (fixes #2780) 2571 * [mod_fastcgi] detect child exit, restart proactively 2572 * [mod_scgi] detect child exit, restart proactively 2573 * [TLS] ssl.read-ahead = "disable" for low mem (fixes #2778) 2574 2575- 1.4.44 - 2016-12-24 2576 * [mod_scgi] fix segfault (fixes #2762) 2577 * [mod_authn_gssapi] fix memory leak 2578 * [config] warn if mod_authn_ldap,mysql not listed 2579 * [mod_magnet] fix magnet_cgi_set() set of env vars (fixes #2763) 2580 * [mod_cgi] FreeBSD 9.3/MacOSX does not have pipe2() (fixes #2765) 2581 * [mod_extforward] fix crash on invalid IP (fixes #2766) 2582 * [mod_fastcgi] fix segfault if all backends down (fixes #2768) 2583 * [mod_cgi] fix out of sockets error for POST to CGI (fixes #2771) 2584 * [mod_auth] compile fix for Mac OS X XCode (fixes #2772) 2585 * [mod_authn_gssapi] better resource cleanup 2586 * [core] compile fix for Mac OS X 10.6 (old) (fixes #2773) 2587 * fix race in dynamic handler configs (reentrancy) (fixes #2774) 2588 * [mod_authn_mysql] close mysql_conn in cleanup 2589 * [mod_webdav] compile fix when locking not enabled 2590 * load mod_auth & mod_authn_file in sample/test.conf 2591 * comment out auth.backend.ldap.* in tests/*.conf 2592 * [mod_fastcgi,mod_scgi] warn if invalid "bin-path" 2593 * RAND_pseudo_bytes() is deprecated in openssl 1.1.0 2594 * openssl 1.1.0 init and cleanup 2595 * [mod_cgi] remove direct calls to network_backend* 2596 * [build] build network_*.c into lighttpd executable 2597 * suggest inclusion of mod_geoip... before mod_ssi. 2598 * set systemd settings similar to lighttpd2 2599 * [doc] remove reference to Linux rt-signals 2600 * [mod_authn_gssapi] fix missing error ret, coverity 2601 * [core] rename li_rand() to li_rand_pseudo_bytes() 2602 * remove #include "stream.h" where not used 2603 * [mod_cml] include lua headers before base.h 2604 * [core] combine duplicated connection reset code 2605 * [mod_ssi] produce content in subrequest hook 2606 * [core] remove srv->entropy[] 2607 * [core] defer li_rand_init() until first use 2608 * [core] permit connection-level state in modules 2609 * [mod_dirlisting] render dirlisting as HTML (fixes #2767) 2610 * [mod_proxy] replace HTTP Host sent to backend (fixes #2770) 2611 * [mod_ssi] basic recursive SSI include virtual (fixes #536) 2612 * [mod_ssi] implement, ignore <!--#comment ... --> 2613 * [core] consolidate duplicated read-to-close code 2614 * [core] fix segfault when parsing a bad config file 2615 * [core] support Transfer-Encoding: chunked req body (fixes #2156) 2616 * [autobuild] set NO_RDYNAMIC=yes for midipix 2617 * [mod_proxy] proxy.balance = "sticky" option (fixes #2117) 2618 * [mod_secdownload] warn if SHA used w/o SSL crypto 2619 * [build] compile fixes for AIX 2620 * [build] check for pipe2() at configure time 2621 * [mod_evhost] fix an incorrect error trace 2622 * [tests] mark tests/docroot/www/*.pl scripts a+x 2623 * [mod_cgi] fall back to pipe() if pipe2() fails 2624 * fix SCons fullstatic build with glibc pthreads 2625 * [TLS] openssl 1.1.0 makes SSL_OP_NO_SSLv2 no-op 2626 2627- 1.4.43 - 2016-10-31 2628 * [autobuild] remove mod_authn_gssapi dep on resolv 2629 * [mod_deflate] ignore '*' in deflate.mimetypes 2630 * [autobuild] omit module stubs when missing deps 2631 * [TLS] openssl 1.1.0 hides struct bignum_st 2632 * [autobuild] move http_cgi_ssl_env() for Mac OS X (fixes #2757) 2633 * [core] use paccept() on NetBSD (replace accept4()) 2634 * [TLS] remote IP conditions are valid for TLS SNI (fixes #2272) 2635 * [doc] lighttpd-angel.8 (fixes #2254) 2636 * [cmake] build fcgi-auth, fcgi-responder for tests 2637 * [mod_accesslog] %{ratio}n logs compression ratio (fixes #2133) 2638 * [mod_deflate] skip deflate if loadavg too high (fixes #1505) 2639 * [mod_expire] expire by mimetype (fixes #423) 2640 * [mod_evhost] partial matching patterns (fixes #1194) 2641 * build: use CC_FOR_BUILD for lemon when cross-compiling 2642 * [mod_dirlisting] config header and readme files 2643 * [config] warn if mod_authn_ldap,mysql not listed 2644 * fix FastCGI, SCGI, proxy reconnect on failure 2645 * [core] network_open_file_chunk() temp file opt 2646 * [mod_rewrite] add more info in error log msg 2647 * [core] fix fd leak when using libev (fixes #2761) 2648 * [core] fix potential streaming tempfile corruption (fixes #2760) 2649 * [mod_scgi] fix prefix matching to always match url 2650 * [autobuild] adjust Makefile.am for FreeBSD 2651 * [build] move some build scripts to scripts/ 2652 * [autotools] fix configure.ac for opensuse 13.2 2653 2654- 1.4.42 - 2016-10-16 2655 * [TLS] SSL_shutdown() only if handshake finished 2656 * [mod_proxy,mod_scgi] shutdown remote only if local (#2743) 2657 * [core] check if client half-closed TCP if POLLHUP (#2743) 2658 * [core] enforce wait for POLLWR after EINPROGRESS (fixes #2744) 2659 * [core] do not enter handler twice after read body 2660 * [core] proxy,scgi omit shutdown() to backend (fixes #2743) 2661 * [mod_dirlisting] dirlist does not handle POST 2662 * [mod_dirlisting] js column sort for dirlist table (fixes #613, fixes #2315) 2663 * [mod_auth] Digest auth fails after rewrite (fixes #2745) 2664 * [mod_auth] refactor out auth backend code 2665 * [mod_auth] extensible interface for auth backends 2666 * [core] better DragonFlyBSD support (fixes #2746) 2667 * [mod_auth] include base.h for USE_OPENSSL def 2668 * [mod_auth] support CRYPT-MD5-NTLM algorithm (fixes #1743) 2669 * [mod_auth] terminate salt for CRYPT-MD5-NTLM 2670 * [core] fix crash if ready events on abandoned fd (fixes #2748) 2671 * [mod_auth] http_auth_md5_hex2bin() 2672 * [mod_auth] remove empty mod_auth.h 2673 * [mod_auth] mod_authn_mysql.c MySQL auth backend (fixes #752, fixes #1845) 2674 * [mod_cgi] permit CGI exec of unreadable files (fixes #2374) 2675 * [mod_uploadprogress] add to default build 2676 * [mod_geoip] add to default build (fixes #2705, fixes #2101, fixes #2092, fixes #2025, fixes #1962, fixes #1938) 2677 * [mod_fastcgi] Authorizer support with Responder (fixes #321, fixes #322) 2678 * [tests] test coverage for issues (#321, #322) 2679 * dynamic handlers store debug flag in handler_ctx 2680 * [mod_fastcgi] allow authorizer, responder for same path/ext (#321) 2681 * backport mod_deflate to lighttpd 1.4 (fixes #1824, fixes #2753) 2682 * [autobuild] test_configfile might need vector.c (fixes #2752) 2683 * [mod_deflate] fix longjmp clobber compiler warning 2684 * remove unused array type TYPE_COUNT data_count 2685 * [mod_auth] structured data, register auth schemes 2686 * [mod_auth] mod_authn_gssapi Kerberos auth backend (fixes #1899) 2687 * [autobuild] skip two new tests if no fcgi-auth 2688 * [SCons] define with_krb5 for SCons build 2689 * [SCons] fix syntax error in SConstruct 2690 * [SCons] define with_geoip for SCons build 2691 * [CMake] fix clang -Wcast-align warnings in lemon.c 2692 * remove excess initializers (fix compiler warnings) 2693 * fix errors detected by Coverity Scan 2694 * performance: use Linux extended syscalls and flags 2695 * [mod_scgi] add uwsgi protocol support 2696 * [mod_auth] refactor LDAP code into smaller funcs 2697 * [mod_auth] HTTP Basic auth backends also do authz (#1817) 2698 * [mod_auth] ldap filter subst user for multiple '$' (fixes #1508) 2699 * [mod_auth] permit specifying ldap DN; skip search (fixes #1248) 2700 * [autobuild] update module/feature report 2701 * [cmake] build mod_authn_gssapi if WITH_KRB5 2702 * [mod_auth] fix printing of IP in error trace 2703 * [mod_mysql_vhost] support multiple '?' replacement (fixes #2163) 2704 * [core] make server.max-request-size scopeable (#1901) 2705 * [core] server.max-request-field-size (fixes #2130) 2706 * [core] optional condition in config "else" clause (fixes #1268) 2707 * [core] restrict where config "else" clauses occur (#1268) 2708 * silence warnings from clang ccc-analyzer 2709 * consistent, shared code to create CGI env 2710 * [TLS] replace env entries in https_add_ssl_entries 2711 * [TLS] set SSL_CLIENT_M_SERIAL w/ client cert SN (fixes #2268) 2712 * [TLS] set SSL_CLIENT_VERIFY w/ client cert (#1288, #2693) 2713 * [TLS] set SSL_PROTOCOL, SSL_CIPHER* (fixes #2511) 2714 * [core] rand.[ch] to use better RNGs when available 2715 * [mod_cgi] fix pipe_cloexec() when no O_CLOEXEC 2716 * ignore return value from fcntl() FD_CLOEXEC 2717 * build w/o compiler warnings if no zlib or bz2lib 2718 2719- 1.4.41 - 2016-07-31 2720 * remove long-deprecated, non-functional config opts 2721 * [config] inherit server.use-ipv6 and server.set-v6only (fixes #678) 2722 * [mod_auth] fix Digest auth to be better than Basic (fixes #1844) 2723 * [mod_ssi] fix #config sizefmt="bytes" 2724 * [autobuild] move inet_pton detection later 2725 * [core] #include <sys/filio.h> for FIONREAD (fixes #2726) 2726 * [autobuild] clock_gettime() -lrt with glibc < 2.17 2727 * [security] do not emit HTTP_PROXY to CGI env 2728 * [build_cmake] clock_gettime() -lrt w/ glibc < 2.17 (fixes #2737) 2729 * [core] avoid spurious trace and error abort 2730 * [core] stay in CON_STATE_CLOSE until done with req 2731 * [core] $HTTP["remoteip"] must handle IPv6 w/o [] 2732 * [mod_status] show keep-alive status w/ text output (fixes #2740) 2733 * do not set REDIRECT_URI in mod_magnet, mod_rewrite (#2738) 2734 * revert 1.4.40 swap of REQUEST_URI, REDIRECT_URI (fixes #2738) 2735 * [core] permit IPv6 address scope identifier 2736 * [TLS] better handling of SSL_ERROR_WANT_READ/WRITE 2737 * [TLS] read all available records from SSL_read() 2738 * [core] try AF_INET after AF_INET6 if use-ipv6 2739 * [core] set chunkqueue tempdirs at startup 2740 * [security] ensure gid != 0 if server.username set (fixes #2725) 2741 * [security] disable stat_cache if !follow-symlink (fixes #2724) 2742 * [core] fix buffer_copy_string_hex() assert (fixes #2742) 2743 * [security] encode quoting chars in HTML and XML 2744 * [cmake] always define _GNU_SOURCE 2745 * [cmake] enable warnings for GCC and Clang 2746 * [cmake] set cmake_minimum_required to 2.8.2 2747 2748- 1.4.40 - 2016-07-16 2749 * [mod_ssi] enhance support for ssi vars (thx fbrosson) 2750 * add handling for lua 5.2 and 5.3 (fixes #2674) 2751 * use libmemcached instead of deprecated libmemcache 2752 * add force_assert for more allocation results 2753 * [mod_cgi] use MAP_PRIVATE to mmap temporary file (fixes #2715) 2754 * [core] do not send SIGHUP to process group unless server.max-workers is used (fixes #2711) 2755 * [mod_cgi] edge case chdir "/" when docroot "/" (fixes #2460) 2756 * [mod_cgi] issue trace and exit if execve() fails (closes #2302) 2757 * [configparser] don't continue after parse error (fixes #2717) 2758 * [core] never evaluate else branches until the previous branches are ready (fixes #2598) 2759 * [core] fix conditional cache handling 2760 * [core] improve conditional enabling (thx Gwenlliana, #2598) 2761 * [mod_compress] case-insensitive content-codings (fixes #2645) 2762 * [plugins] don't include dlfcn.h if not needed (fixes #2548) 2763 * [mod_fastcgi] 404 for X-Sendfile file not found (fixes #2474) 2764 * [mod_cgi] send 500 if CGI ends and there is no response (fixes #2542) 2765 * [mod_cgi] consolidate CGI cleanup code 2766 * [mod_cgi] simplify mod_cgi_handle_subrequest() 2767 * [mod_cgi] kill CGI if fail to write request body 2768 * [mod_proxy] use case-insensitive comparison to filter headers, send Connection: Close to backend (fixes #421) 2769 * [mod_dirlisting] dir-listing.hide-dotfiles = "enabled" by default (fixes #1081) 2770 * [mod_secdownload] fix buffer overflow in secdl_verify_mac (reported by Fortify Open Review Project) 2771 * [mod_fastcgi,mod_scgi] fix leaking file-descriptor when backend spawning failed (reported by Fortify Open Review Project) 2772 * [core] improve array API to prevent memory leaks 2773 * [core] refactor array search; raise array size limit to SSIZE_MAX 2774 * [core] fix memory leak in configparser_merge_data 2775 * [core] provide array_extract_element and use it 2776 * [core] configparser: error on duplicate keys in array merge (fixes #2685) 2777 * [core] more careful parse of $SERVER["socket"] config str (prepare #2204) 2778 * [core] accept $SERVER["socket"] without port, use server.port as fallback (fixes #2204) 2779 * [mod_magnet] define lua_pushglobaltable (for lua5.1) and use it (fixes #2719) 2780 * [ssl] support disabling ssl.verifyclient.activate in SNI callback (fixes #2531) 2781 * restart (some) syscalls after SIGCHLD interrupted them; should fix LDAP problems (fixes #2464) 2782 * [core] log remote address on request timeouts (fixes #652) 2783 * [autobuild] use AC_CANONICAL_HOST instead of AC_CANONICAL_TARGET (fixes #1866) 2784 * [core] fix request_start in keep-alive requests to mark time when received first byte (fixes #2412) 2785 * [core] truncate pidfile on exit (fixes #2695) 2786 * consistent inclusion of config.h at top of files (fixes #2073) 2787 * [core] add generic vector implementation 2788 * [core] replace array weakref with vector 2789 * [base64] fix crash due to broken force_assert 2790 * [unittests] add test_buffer and test_base64 unit tests 2791 * [buffer] refactor buffer_path_simplify (fixes #2560) 2792 * validate return values from strtol, strtoul (fixes #2564) 2793 * [mod_ssi] Add SSI vars SCRIPT_{URI,URL} and REQUEST_SCHEME (fixes #2721) 2794 * [config] warn if server.upload-dirs has non-existent dirs (fixes #2508) 2795 * [mod_proxy] accept LF delimited headers, not just CRLF (fixes #2594) 2796 * [core] wait for grandchild to be ready when daemonizing (fixes #2712, thx pasdVn) 2797 * [core] respond 411 Length Required if request has Transfer-Encoding: chunked (fixes #631) 2798 * [core] fixed the loading for default modules if they are specified explicitly 2799 * [core] lighttpd -tt performs preflight startup checks (fixes #411) 2800 * [stat] mimetype.xattr-name global config option (fixes #2631) 2801 * [mod_webdav] allow Depth: Infinity lock on file (fixes #2296) 2802 * [mod_status] use snprintf() instead of sprintf() 2803 * pass buf size to li_tohex() 2804 * use li_[iu]tostrn() instead of li_[iu]tostr() 2805 * [stream] fstat() after open() to obtain file size 2806 * [core] clean up srv before exiting for lighttpd -[vVh] 2807 * [mod_fastcgi,mod_scgi] check for spawning on same unix socket (fixes #319) 2808 * [mod_cgi] always set QUERY_STRING (fixes #1339) 2809 * [mod_auth] send charset="UTF-8" in WWW-Authenticate (fixes #1468) 2810 * [mod_magnet] rename var for clarity (fixes #1483) 2811 * [mod_extforward] reset cond_cache for scheme (fixes #1499) 2812 * [mod_webdav] readdir POSIX compat (fixes #1826) 2813 * [mod_expire] reset caching response headers for error docs (fixes #1919) 2814 * [mod_status] page refresh option (fixes #2170) 2815 * [mod_status] table w/ count of con states (fixes #2427) 2816 * [mod_dirlisting] class for dir <tr> (fixes #2304) 2817 * [core] define __STDC_WANT_LIB_EXT1__ (fixes #2722) 2818 * [core] setrlimit max-fds <= rlim_max for non-root (fixes #2723) 2819 * [mod_ssi] config ssi.conditional-requests 2820 * [mod_ssi] config ssi.exec (fixes #2051) 2821 * [mod_redirect,mod_rewrite] short-circuit if blank replacement (fixes #2085) 2822 * [mod_indexfile] save physical path to env (fixes #448, #892) 2823 * [core] open fd when appending file to cq (fixes #2655) 2824 * [config] server.listen-backlog option (fixes #1825, #2116) 2825 * [core] retry tempdirs on partial write, ENOSPC (fixes #2588) 2826 * [core] compile with upcoming openssl 1.1.0 release (fixes #2727) 2827 * [core] improve dynamic handler control flow logic 2828 * [core] defer reading request body until handle subrequest (fixes #2541) 2829 * [core] always poll for client POLLHUP/POLLERR events (fixes #399) 2830 * [mod_fastcgi,mod_scgi,mod_proxy] handlers can read response before sending req body (fixes #131, #2566) 2831 * [mod_cgi] asynchronous send of request body to CGI 2832 * [core] compile with upcoming openssl 1.1.0 release (fixes #2727) 2833 * [core] set REDIRECT_STATUS to error_handler_saved_status (fixes #1828) 2834 * [core] server.error-handler new directive for error pages (fixes #2702) 2835 * [core] support IPv6 in $HTTP["remote-ip"] CIDR cond match (fixes #2706) 2836 * [core] http_response_send_file() shared code (#2017) 2837 * [mod_fastcgi] use http_response_xsendfile() (fixes #799, fixes #851, fixes #2017, fixes #2076) 2838 * [mod_scgi] X-Sendfile feature (fixes #2253) 2839 * [mod_cgi] X-Sendfile feature (fixes #2313) 2840 * [mod_webdav] lseek,read if fs can not mmap (#2666, fixes #962) 2841 * [mod_compress] use mmap and trap SIGBUS (#2666, fixes #1879) 2842 * fallback to lseek()/read() if mmap() fails (#fixes 2666) 2843 * [mod_auth] skip blank lines and comment lines (fixes #2327) 2844 * [core] fallback to write if sendfile not supported (fixes #471, #987) 2845 * [core] preserve PATH_INFO case on case-insensitive fs (fixes #406) 2846 * [mod_ssi, mod_cml] set DOCUMENT_ROOT to basedir (fixes #2383) 2847 * [core] cmd line opt to shutdown after idle time limit (fixes #2696) 2848 * [core] lighttpd -1 handles single request on stdin socket (fixes #1584) 2849 * [mod_fastcgi,mod_scgi] IPv6 support (fixes #2372) 2850 * [mod_status] add JSON output option (fixed #2432) 2851 * [mod_webdav] map COPY/MOVE Destination to aliases (fixes #1787) 2852 * [mod_webdav] improve PROPFIND,PROPPATCH (#1818, #1953) 2853 * [core] reset response headers, write_queue for error docs 2854 * build with libressl 2855 * static build instructions using SCons or make 2856 * [mod_auth] preserve WWW-Authenticate for error docs (fixes #2730) 2857 * check close() return code after writing to file 2858 * adjustments for openssl 1.1.0 pre-release 2859 * [config] support include file glob (fixes #1221) 2860 * [mod_evasive] 302 redirect option if limit reached (fixes #2199) 2861 * [build] enhancements for cross-compiling (fixes #2276) 2862 * [mod_accesslog] report aborted con state with %X (fixes #1890) 2863 * [mod_ssi] fix SSI statement parser 2864 * [mod_ssi] include relative to alias,userdir (fixes #222) 2865 * [mod_ssi] add PCRE_* options to constrain regex 2866 * [mod_ssi] more flexible quoting (fixes #1768) 2867 * [core] wrap IPv6 literal in "[]" in redirect URL 2868 * [mod_ssi] fix parse of tag across buf boundary (fixes #2732) 2869 * [mod_cgi,mod_scgi] X-Sendfile sets file_started (fixes #2733) 2870 * [mod_fastcgi] no chunked response w/ X-Sendfile (fixes #2733) 2871 * [config] opts for http header parsing strictness (fixes #551, fixes #1086, fixes #1184, fixes #2143, #2258, #2281, fixes #946, fixes #1330, fixes #602, #1016) 2872 * [config] normalize IP strings in lighttpd.conf 2873 * [build_cmake] use MODULE on Mac OS X (fixes #1761) 2874 * [config] server.bsd-accept-filter option 2875 * [mod_webdav] create file w/ LOCK request if ENOENT 2876 * [core] buffer large responses to tempfiles (fixes #758, fixes #760, fixes #933, fixes #1387, #1283, fixes #2083) 2877 * [core] stream response to client (#949) 2878 * [TLS] release openssl buffers as used (fixes #1265, fixes #1283, #881) 2879 * [config] config options to stream request/response (#949, #376) 2880 * [core] option to stream request body to backend (fixes #376) 2881 * [core] option to stream response body to client (fixes #949, #760, #1283, #1387) 2882 * drain backend socket/pipe bufs upon FDEVENT_HUP 2883 * remove excess calls to joblist_append() 2884 * defer choosing "Transfer-Encoding: chunked" 2885 * asynchronous, bidirectional streaming options 2886 * fix errors detected by Coverity Scan 2887 * [cygwin] fix mod_proxy and mod_fastcgi ioctl use 2888 * [mod_webdav] remove excess SQL param to UNLOCK 2889 * graceful shutdown without unnecessary 1 sec delay 2890 * [core] disable Nagle algorithm (TCP_NODELAY) 2891 * [core] add declarations to fdevent.h (#2373) 2892 * [tests] remove dependency on CGI.pm 2893 * [TLS] fix return value checks during cert init 2894 * [core] fix server.max-request-size to be precise (fixes #2131) 2895 * [mod_webdav] fix proppatch mem leak, other fixes (#fixes 1334, #fixes 2000) 2896 * [autobuild] CMake check for struct tm tm_gmtoff (fixes #2014) 2897 * [mod_uploadprogress] fix mem leak (#1858) 2898 * [core] make server.max-request-size scopeable (fixes #1901) 2899 * [mod_fastcgi,mod_scgi] check for spawning on same unix socket (#319) 2900 * [mod_accesslog] %a %A %C %D %k %{}t %{}T (fixes #1145, fixes #1415, fixes #2081) 2901 * [mod_access] new directive url.access-allow (fixes #1421) 2902 * [core] fdevent_libev: update use of ev_timer 2903 * [mod_cgi] handle local redirect response (fixes #2108) 2904 2905- 1.4.39 - 2016-01-02 2906 * [core] fix memset_s call (fixes #2698) 2907 * [chunk] fix use after free / double free (fixes #2700) 2908 2909- 1.4.38 - 2015-12-05 2910 * [stat-cache] fix handling of collisions, might have returned wrong data (fixes #2669) 2911 * [core] allocate at least 4k buffer for incoming data 2912 * [core] fix search for header end if split across chunks (fixes #2670) 2913 * [core] check configparserAlloc() result with force_assert 2914 * [mod_auth] implement and use safe_memclear, using memset_s or explicit_bzero if available (thx loganaden) 2915 * [core] don't buffer request bodies smaller than 64k on disk 2916 * add force_assert for many allocations and function results 2917 * [mod_secdownload] use a hopefully constant time comparison to check hash (fixes #2679) 2918 * [config] check config option scope; warn if server option is given in conditional 2919 * [core] revert increase of temp file size back to 1MB, provide a configure option "server.upload-temp-file-size" instead (fixes #2680) 2920 * [core] add '~' to safe characters in ENCODING_REL_URI/ENCODING_REL_URI_PART encoding 2921 * [core] encode path with ENCODING_REL_URI in redirect to directory (fixes #2661, thx gstrauss) 2922 * [mod_secdownload] add required algorithm option; old behaviour available as "md5", new options "hmac-sha1" and "hmac-sha256" 2923 * [mod_fastcgi/mod_scgi] zero sockaddr structs before use (fixes #2691, thx Kyle J. McKay) 2924 * [network] add darwin-sendfile backend (fixes #2687, thx Kyle J. McKay) 2925 * [core] show correct crypt support result (fixes #2690, thx Kyle J. McKay) 2926 2927- 1.4.37 - 2015-08-30 2928 * [mod_proxy] remove debug log line from error log (fixes #2659) 2929 * [mod_dirlisting] fix dir-listing.set-footer not showing 2930 * fix out-of-filedescriptors when uploading "large" files (fixes #2660, thx rmilecki) 2931 * increase upload temporary chunk file size from 1MB to 16MB 2932 * fix undefined integer shift 2933 * rewrite network sendfile/mmap/writev/write backends 2934 * fix some unchecked return value warnings 2935 * [kqueue] fix kevent call 2936 * [autoconf] define HAVE_CRYPT when crypt() is present 2937 * [bsd xattr] fix compile break with BSD extended attributes in stat_cache 2938 * [mod_cgi] rewrite mmap and generic (post body) send error handling 2939 * [mmap] fix mmap alignment 2940 * [plugins] when modules are linked statically still only load the modules given in the config 2941 * [mmap] handle SIGBUS in network; those get triggered if the file gets smaller during reading 2942 * fix some warnings found by coverity ("leak" in setup phase, not catching too long unix socket paths in mod_proxy) 2943 2944- 1.4.36 - 2015-07-26 2945 * use keep-alive timeout while waiting for HTTP headers; use always the read timeout while waiting for the HTTP body 2946 * fix bad shift in conditional netmask ".../0" handling 2947 * add more mime types and a script to generate mime.conf (fixes #2579) 2948 * add support for (Free)BSD extended attributes 2949 * [build] use fortify flags with "extra-warnings" 2950 * [mod_dirlisting,mod_redirect,mod_rewrite] abort config parsing if pcre-compile fails or isn't available 2951 * [ssl] disable SSL3.0 by default 2952 * fixed typo in example config found by openSUSE user (boo# 907709) 2953 * [network] fix compile break in calculation of sockaddr_un size if SUN_LEN is not defined (fixes #2609) 2954 * [connections] fix bug in connection state handling 2955 * print backtrace in assert logging with libunwind 2956 * major refactoring of internal buffer/chunk handling 2957 * [mod_auth] use crypt_r instead of crypt if available 2958 * fix error message for T_CONFIG_ARRAY config values if an entry value is not a string 2959 * fix segfaults in many plugins if they failed configuration 2960 * escape all strings for logging (fixes #2646 log file injection, reported by Jaanus Kääp) 2961 * fix hex escape in accesslog (fixes #2559) 2962 * show extforward re-run warning only with debug.log-request-handling (fixes #2561) 2963 * parse If-None-Match for ETag validation (fixes #2578) 2964 * fix memory leak in mod_status when no counters are set (found by coverity) 2965 * [mod_magnet] fix segfault when accessing not existing lighty.req_env[] entry (found by coverity) 2966 * fix segfault when temp file for upload couldn't be created (found by coverity) 2967 * mime.conf: add some new mime types, remove .dat, .sha1, .md5, update .vcf 2968 * [mod_proxy] add unix domain socket support (fixes #2653) 2969 * [configfile] fix reading uninitialized variable (found by Willian B.) 2970 2971- 1.4.35 - 2014-03-12 2972 * [network/ssl] fix build error if TLSEXT is disabled 2973 * [mod_fastcgi] fix use after free (only triggered if fastcgi debug is active) 2974 * [mod_rrdtool] fix invalid read (string not null terminated) 2975 * [mod_dirlisting] fix memory leak if pcre fails 2976 * [mod_fastcgi,mod_scgi] fix resource leaks on spawning backends 2977 * [mod_magnet] fix memory leak 2978 * add comments for switch fall throughs 2979 * remove logical dead code 2980 * [buffer] fix length check in buffer_is_equal_right_len 2981 * fix resource leaks in error cases on config parsing and other initializations 2982 * add force_assert() to enforce assertions as simple assert()s are disabled by -DNDEBUG (fixes #2546) 2983 * [mod_cml_lua] fix null pointer dereference 2984 * force assertion: setting FD_CLOEXEC must work (if available) 2985 * [network] check return value of lseek() 2986 * fix unchecked return values from stream_open/stat_cache_get_entry 2987 * [mod_webdav] fix logic error in handling file creation error 2988 * check length of unix domain socket filenames 2989 * fix SQL injection / host name validation (thx Jann Horn) 2990 2991- 1.4.34 - 2014-01-20 2992 * [mod_auth] explicitly link ssl for SHA1 (fixes #2517) 2993 * [mod_extforward] fix compilation without IPv6, (not) using undefined var (fixes #2515, thx mm) 2994 * [ssl] fix SNI handling; only use key+cert from SNI specific config (fixes #2525, CVE-2013-4508) 2995 * [doc] update ssl.cipher-list recommendation 2996 * [stat-cache] FAM: fix use after free (CVE-2013-4560) 2997 * [stat-cache] fix FAM cleanup/fdevent handling 2998 * [core] check success of setuid,setgid,setgroups (CVE-2013-4559) 2999 * [ssl] fix regression from CVE-2013-4508 (client-cert sessions were broken) 3000 * maintain physical.basedir (the "acting" doc-root as prefix of physical.path) in more places 3001 * [core] decode URL before rewrite, enabling it to work in $HTTP["url"] conditionals (fixes #2526) 3002 * [auto* build] remove -no-undefined from linker flags, as we actually link modules with undefined symbols (fixes #2533) 3003 * [mod_mysql_vhost] fix memory leak on config init (#2530) 3004 * [mod_webdav] fix fd leak found with parfait (fixes #2530, thx kukackajiri) 3005 3006- 1.4.33 - 2013-09-27 3007 * mod_fastcgi: fix mix up of "mode" => "authorizer" in other fastcgi configs (fixes #2465, thx peex) 3008 * fix handling of If-Modified-Since if If-None-Match is present (don't return 412 for date parsing errors); 3009 follow current draft for HTTP/1.1, which tells us to ignore If-Modified-Since if we have matching etags. 3010 * [mod_fastcgi,log] support multi line logging (fixes #2252) 3011 * call ERR_clear_error only for ssl connections in CON_STATE_ERROR 3012 * reject non ASCII characters in HTTP header names 3013 * [mod_auth] use crypt() on encrypted password instead of extracting salt first (fixes #2483) 3014 * [mod_auth] add htpasswd -s (SHA1) support if openssl is used (needs openssl for SHA1). This doesn't use any salt, md5 with salt is probably better. 3015 * [mod_auth] fix base64_decode (#2484) 3016 * fix some bugs found with canalyze (fixes #2484, thx Zhenbo Xu) 3017 * fix undefined stuff found with clang 3018 * [cmake] Use TARGET_LINK_LIBRARIES instead of LINK_FLAGS for library dependencies, also add -Wl,--as-needed to extra warnings (fixes #2448) 3019 * [mod_auth] fix invalid read in digest qop=auth-int handling (fixes #2478) 3020 * [auto* build] simplify autogen.sh, handle automake 1.13 test running (fixes #2490) 3021 * [mod_userdir] add userdir.active option, "enabled" by default 3022 * [core] return 501 Not Implemented in static file mode for all methods except GET/POST/HEAD/OPTIONS 3023 * [core] recognize more http methods to forward to backends (fixes #2346) 3024 * [ssl] use DH only if openssl supports it (fixes #2479) 3025 * [network] use constants available at compile time for maximum number of chunks for writev instead of calling sysconf (fixes #2470) 3026 * [ssl] Fix $HTTP["scheme"] conditional, could be "http" for ssl connections if the ssl $SERVER["socket"] conditional was nested (fixes #2501) 3027 * [ssl] accept ssl renegotiations if they are not disabled (fixes #2491) 3028 * [ssl] add option ssl.empty-fragments, defaulting to disabled (fixes #2492) 3029 * [auth] put REMOTE_USER into cgi environment, making it accessible to lua via lighty.req_env (fixes #2495) 3030 * [auth] new method "extern" to use already present REMOTE_USER (from magnet, ssl, ...) (fixes #2436) 3031 * [core] remove requirement that default doc-root has to exist, there are reasonable scenarios not requiring static files at all 3032 * [core] check whether server.chroot exists 3033 * [mod_simple_vhost] fix cache; skip module if simple-vhost.server-root is empty (thx rm for reporting) 3034 * [mod_accesslog] add accesslog.syslog-level option (fixes #2480) 3035 * [core] allow files to be used as document-root (fixes #2475) 3036 * [core] set signal handlers before forking child processes in modules/plugins_call_set_defaults (fixes #2502) 3037 3038- 1.4.32 - 2012-11-21 3039 * Code cleanup with clang/sparse (fixes #2437, thx kibi) 3040 * Ignore EPIPE/ECONNRESET after SSL_shutdown 3041 * Handle ENAMETOOLONG, return 404 Not Found (fixes #2396, thx dererkazo) 3042 * configure.ac: remove old stuff, add some new to fix warnings in automake 1.12 (fixes #2419, thx blino) 3043 * add PATCH method (fixes #2424) 3044 * fix :port handling in $HTTP["host"] checks (fixes #2135. thx liming) 3045 * network_server_init: fix double free and memleak on error (fixes #2440, thx kyprizel) 3046 * detect "x-gzip"/"x-bzip2" as separate encodings, more strict encoding matching (fixes #2443) 3047 * tests: make sure mod_proxy doesn't leave running processes (fixes #2435, thx kibi) 3048 * mod_extforward: log address of untrusted proxy with debug.log-request-handling 3049 * fix DoS in Connection header value split (reported by Jesse Sipprell, CVE-2012-5533) 3050 * remove whitespace at end of header keys 3051 3052- 1.4.31 - 2012-05-31 3053 * [ssl] fix segfault in counting renegotiations for openssl versions without TLSEXT/SNI (thx carpii for reporting) 3054 * Move fdevent subsystem includes to implementation files to reduce conflicts (fixes #2373) 3055 * [mod_compress] fix handling if etags are disabled but cache-dir is set - may lead to double response 3056 * disable mmap by default (fixes #2391) 3057 * buffer_caseless_compare: always convert letters to lowercase to get transitive results, fixing array lookups (fixes #2405) 3058 * Fix handling of empty header list entries in http_request_split_value, fixing invalid read in valgrind (fixes #2413) 3059 * Fix access log escaping of " and \\ (fixes #1551) 3060 * [mod_auth] Fix digest "md5-sess" implementation (Errata ID 1649, RFC 2617) (fixes #2410) 3061 * [auth] Add "AUTH_TYPE" environment (for *cgi), remove fastcgi specific workaround, add fastcgi test case (fixes #889) 3062 * [mod_*cgi,mod_accesslog] Fix splitting :port with ipv6 (fixes #2333, thx simoncpu) 3063 * Detect multiple -f options: show error message instead of assert (fixes #2416) 3064 * [mod_extforward] Support ipv6 addresses (fixes #1889) 3065 * [mod_redirect] Support url.redirect-code option (fixes #2247) 3066 * Fix --enable-mmap handling in configure.ac 3067 3068- 1.4.30 - 2011-12-18 3069 * Always use our 'own' md5 implementation, fixes linking issues on MacOS (fixes #2331) 3070 * Limit amount of bytes we send in one go; fixes stalling in one connection and timeouts on slow systems. 3071 * [ssl] fix build errors when Elliptic-Curve Diffie-Hellman is disabled 3072 * Add static-file.disable-pathinfo option to prevent handling of urls like .../secret.php/image.jpg as static file 3073 * Don't overwrite 401 (auth required) with 501 (unknown method) (fixes #2341) 3074 * Fix mod_status bug: always showed "0/0" in the "Read" column for uploads (fixes #2351) 3075 * [mod_auth] Fix signedness error in http_auth (fixes #2370, CVE-2011-4362) 3076 * [ssl] count renegotiations to prevent client renegotiations 3077 * [ssl] add option to honor server cipher order (fixes #2364, BEAST attack) 3078 * [core] accept dots in ipv6 addresses in host header (fixes #2359) 3079 * [ssl] fix ssl connection aborts if files are larger than the MAX_WRITE_LIMIT (256kb) 3080 * [libev/cgi] fix waitpid ECHILD errors in cgi with libev (fixes #2324) 3081 3082- 1.4.29 - 2011-07-03 3083 * Fix mod_proxy waiting for response even if content-length is 0 (fixes #2259) 3084 * Silence annoying "connection closed: poll() -> ERR" error.log message (fixes #2257) 3085 * mod_cgi: make read buffer as big as incoming data block 3086 * [build] Fix detection of libev (fixes #2300) 3087 * ssl: Support for Diffie-Hellman and Elliptic-Curve Diffie-Hellman key exchange (fixes #2301) 3088 add ssl.use-sslv3 (fixes #2246) 3089 load all algorithms (fixes #2239) 3090 * [ssl/md5] prefix our own md5 implementation with li_ so it doesn't conflict with the openssl one (fixes #2269) 3091 * [ssl/build] some minor fixes; fix compile without ssl, cleanup ssl config buffers 3092 * [proc,include_shell] log error if exec shell fails (fixes #2280) 3093 * [*cgi] Use physical base dir (alias, userdir) as DOCUMENT_ROOT in cgi environments (fixes #2216) 3094 * [doc] Move docs to outdated/ subdir and refer to wiki instead (fixes #2248) 3095 * fdevent: add solaris eventports (fixes #2171) 3096 3097- 1.4.28 - 2010-08-22 3098 * Rename fdevent_event_add to _set to reflect what the function does. Fix some handlers. (fixes #2249) 3099 * Fix buffer.h to include stdio.h as it is needer for SEGFAULT() (fixes #2250) 3100 3101- 1.4.27 - 2010-08-13 3102 * Fix handling return value of SSL_CTX_set_options (fixes #2157, thx mlcreech) 3103 * Fix mod_proxy HUP handling (send final chunk, fix usage counter) 3104 * mod_proxy: close connection on write error (fixes #2114) 3105 * Check uri instead of physical path for directory redirect 3106 * Fix detecting git repository (fixes #2173, thx ncopa) 3107 * [mod_compress] Fix segfault when etags are disabled (fixes #2169) 3108 * Reset uri.authority before TLS servername handling, reset all "keep-alive" data in connection_del (fixes #2125) 3109 * Print double quotes properly when dumping config file (fixes #1806) 3110 * Include IP addresses on error log on password failures (fixes #2191) 3111 * Fix stalls while reading from ssl sockets (fixes #2197) 3112 * Fix etag formatting on boxes with 32-bit longs 3113 * Fix two compiler warnings 3114 * mod_accesslog: fix %p for ipv6 sockets (fixes #2228, thx jo.henke) 3115 * mod_fastcgi: Send 502 "Bad Gateway" if we couldn't open the file for X-Sendfile (fixes #2226) 3116 * mod_staticfile: add debug output if we ignore a file with static-file.exclude-extensions (fixes #2215) 3117 * mod_cgi: fix race condition leaving response not forwarded to client (fixes #2217) 3118 * mod_accesslog: Fix var declarations mixed in source (fixes #2233) 3119 * mod_status: Add version to status page (fixes #2219) 3120 * mod_accesslog: optimize accesslog_append_escaped (fixes #2236, thx crypt) 3121 * openssl: silence annoying error messages for errno==0 (fixes #2213) 3122 * array.c: improve array_get_unused_element to check data type; fix mem leak if unused_element didn't find a matching entry (fixes #2145) 3123 * add check to stop loading plugins twice 3124 * cleanup fdevent code, removed linux-rtsig handler, replaced some fprintf calls 3125 * only require FDEVENT_IN bit to be set for listening connections (fixes #2227) 3126 * add libev fdevent handler: server.event-handler = "libev" 3127 * mod_proxy: return response as soon as it is available (fixes #2196) 3128 * don't overwrite global server.force-lowercase-filenames setting (fixes #2042) 3129 * bind to IPV6-only if ipv6 address was specified (https://redmine.lighttpd.net/projects/lighttpd/wiki/IPv6-Config) 3130 3131- 1.4.26 - 2010-02-07 3132 * Fix request parser to handle packets split on \r\n\r\n (fixes #2105) 3133 * Remove dependency on automake >= 1.11 with m4_ifdef check 3134 * mod_accesslog: support %e (fixes #2113, thx presbrey) 3135 * Fix mod_cgi cgi.execute-x-only option in global block 3136 * mod_fastcgi: x-sendfile2 parse error debugging 3137 * Fix mod_proxy dead host detection if connect() fails 3138 * Fix fd leaks in mod_cgi (fds not closed on pipe/fork failures, found by Rodrigo, fixes #2158, #2159) 3139 * Fix segfault with broken rewrite/redirect patterns (fixes #2140, found by crypt) 3140 * Append to previous buffer in con read, fix DoS/OOM vulnerability (fixes #2147, found by liming, CVE-2010-0295) 3141 * Fix HUP detection in close-state if event-backend doesn't support FDEVENT_HUP (like select or poll on FreeBSD) 3142 3143- 1.4.25 - 2009-11-21 3144 * mod_magnet: fix pairs() for normal tables and strings (fixes #1307) 3145 * mod_magnet: add traceback for printing lua errors 3146 * mod_rewrite: fix compile error if compiled without pcre 3147 * disable warning "CLOSE-read" (fixes #2091) 3148 * mod_rrdtool: fix creating file if it doesn't exist (#1788) 3149 * reset tlsext_server_name in connection_reset - fixes random hostnames in the $HTTP["host"] conditional 3150 * export some SSL_CLIENT_* vars for client cert validation (fixes #1288, thx presbrey) 3151 * mod_fastcgi: fix mod_fastcgi packet parsing 3152 * mod_fastcgi: Don't reconnect after connect() succeeded (fixes #2096) 3153 * Fix configure.ac to allow autoreconf, also enables make V=0 3154 3155- 1.4.24 - 2009-10-25 3156 * Add T_CONFIG_INT for bigger integers from the config (needed for #1966) 3157 * Use unsigned int (and T_CONFIG_INT) for max_request_size 3158 * Use unsigned int for secdownload.timeout (fixes #1966) 3159 * Keep url/host values from connection to display information while keep-alive in mod_status (fixes #1202) 3160 * Add server.breakagelog, a "special" stderr (fixes #1863) 3161 * Fix config evaluation for debug.log-timeouts option (#1529) 3162 * Add "cgi.execute-x-only" to mod_cgi, requires +x for cgi scripts (fixes #2013) 3163 * Fix FD_SETSIZE comparison warnings 3164 * Add "lua-5.1" to searched pkg-config names for lua 3165 * Fix unused function webdav_lockdiscovery in mod_webdav 3166 * cmake: Fix crypt lib check 3167 * cmake: Add -export-dynamic to link flags, fixes build on FreeBSD 3168 * Set FD_CLOEXEC for bound sockets before pipe-logger forks (fixes #2026) 3169 * Reset ignored signals to SIG_DFL before exec() in fastcgi/scgi (fixes #2029) 3170 * Show "no uri specified -> 400" error only when "debug.log-request-header-on-error" is enabled (fixes #2030) 3171 * Fix hanging connection in mod_scgi (fixes #2024) 3172 * Allow digits in hostnames in more places (fixes #1148) 3173 * Use connection_reset instead of handle_request_done for cleanup callbacks 3174 * Change mod_expire to append Cache-Control instead of overwriting it (fixes #1997) 3175 * Allow all comparisons for $SERVER["socket"] - only bind for "==" 3176 * Remove strptime failed message (fixes #2031) 3177 * Fix issues found with clang analyzer 3178 * Try to fix server.tag issue with localized svnversion 3179 * Fix handling network-write return values (#2024) 3180 * Use disable-time in fastcgi for all disables after errors, default is 1sec (fixes #2040) 3181 * Remove adaptive spawning code from fastcgi (was disabled for a long time) 3182 * Allow mod_mysql_vhost to use stored procedures (fixes #2011, thx Ben Brown) 3183 * Fix ipv6 in mod_proxy (fixes #2043) 3184 * Print errors from include_shell to stderr 3185 * Set tm.tm_isdst = 0 before mktime() (fixes #2047) 3186 * Use linux-epoll by default if available (fixes #2021, thx Olaf van der Spek) 3187 * Print an error if you use too many captures in a regex pattern (fixes #2059) 3188 * Combine Cache-Control header value in mod_expire to existing HTTP header if header already added by other modules (fixes #2068) 3189 * Remember keep-alive-idle in separate variable (fixes #1988) 3190 * Fix header inclusion order, always include "config.h" before any system header 3191 * mod_webdav: Patch to skip login information for domain part of Destination field (fixes #1793) 3192 * mod_webdav: Delete old properties before updating new for MOVE (fixes #1317) 3193 * Read hostname from absolute uris in the request line (fixes #1937) 3194 * mod_fastcgi: don't disable backend if disable-time is 0 (fixes #1825) 3195 * mod_compress: match partial+full content-type (fixes #1552) 3196 * mod_fastcgi: fix is_local detection, respawn backends if bin-path is set (fixes #897) 3197 * Fix linger-on-close behaviour to avoid rare failure conditions (was r2636, fixes #657) 3198 * mod_fastcgi: restart local procs immediately after they terminated, fix local procs handling 3199 * Fix segfault on invalid config "duplicate else conditions" (fixes #2065) 3200 * mod_usertrack: Use T_CONFIG_INT for max-age, solves range problem (#1455) 3201 * mod_accesslog: configurable timestamp logging (fixes #1479) 3202 * always define _GNU_SOURCE 3203 * Add some iterators for mod_magnet (fixes #1307) 3204 * Fix close_timeout_ts trigger (should finally fix lingering close) 3205 * mod_rewrite: add url.rewrite-[repeat-]if-not-file to rewrite if file doesn't exist or is not a regular file (fixes #985, thx lucas aerbeydt) 3206 * Add TLS servername indication (SNI) support (fixes #386, thx Peter Colberg <[email protected]>) 3207 * Add SSL Client Certificate verification (#1288) 3208 * mod_fastcgi: Fix host->active_procs counter, return 503 if connect wasn't successful after 5 tries (fixes #1825) 3209 * mod_accesslog: escape special characters (fixes #1551, thx icy) 3210 * fix mod_webdav crash from #1793 (fixes #2084, thx hiroya) 3211 * Don't print ssl error if client didn't support TLS SNI 3212 * Fix linger close timeout handling, drop timeout to 5 seconds (fixes #2086) 3213 * Fix broken return values from int to enum in mod_fastcgi 3214 3215- 1.4.23 - 2009-06-19 3216 * Added some extra warning options in cmake and fix the resulting warnings (unused/static functions) 3217 * New lighttpd man page (moved it to section 8) (fixes #1875) 3218 * Create rrd file for empty rrdfile in mod_rrdtool (#1788) 3219 * Fix workaround for incorrect path info/scriptname if fastcgi prefix is "/" (fixes #729) 3220 * Finally removed spawn-fcgi 3221 * Allow xattr to overwrite mime type (fixes #1929) 3222 * Remove link from errormsg about fastcgi apps (fixes #1942) 3223 * Strip trailing dot from "Host:" header 3224 * Remove the optional port info from SERVER_NAME (thx Mr_Bond) 3225 * Fix mod_proxy RoundRobin (off by one problem if only one backend is up) 3226 * Rename configure.in to configure.ac, with small cleanups (fixes #1932) 3227 * Add proper SUID bit detection (fixes #416) 3228 * Check for regular file in mod_cgi, so we don't try to start directories 3229 * Include mmap.h from chunk.h to fix some problems with #define mmap mmap64 (fixes #1923) 3230 * Add support for pipe logging for server.errorlog (fixes #296) 3231 * Add revision number to package version for svn/git checkouts 3232 * Use server.tag for SERVER_SOFTWARE if configured (fixes #357) 3233 * Fix trailing zero char in REQUEST_URI after "strip-request-uri" in mod_fastcgi 3234 * mod_magnet: Add env["request.remote-ip"] (fixes #1740) 3235 * mod_magnet: Add env["request.path-info"] 3236 * Change name/version separator back to "/" (affects every place where the version is printed) 3237 * Fix bug with FastCGI request id overflow under high load; just use always id 1 as we don't use multiplexing. (thx jgray) 3238 * Add some dirlisting enhancements (fixes #1458) 3239 * Add option to enable TCP_DEFER_ACCEPT (fixes #1447) 3240 * Limit amount of bytes read for one read-event (fixes #1070) 3241 * Add evasive.silent option (fixes #1438) 3242 * Make mod_extforward headers configurable (fixes #1545) 3243 * Add '%_' pattern for complete hostname in mod_evhost (fixes #1737) 3244 * Add IPv6 support to mod_proxy (fixes #1537) 3245 * mod_ssi printenv: print cgi env, add environment vars to cgi env (fixes #1713) 3246 * Fix error message if no auth backend was set 3247 * Fix SERVER_NAME port stripping (fixes #1968) 3248 * Fix x-sendfile 2gb limiting (fixes #1970) 3249 * Fix mod_cgi environment keys mangling (fixes #1969) 3250 * Fix workaround for incorrect path info/scriptname if scgi prefix is "/" (fixes #729) 3251 * Fix max-age value in mod_expire for 'modification' (fixes #1978) 3252 * Fix evasive.silent option (#1438) 3253 * Fix mod-fastcgi counters 3254 * Modify fastcgi error message 3255 * Backup errno for later usage (reported by Guido Reina via mailinglist) 3256 * Improve FastCGI performance (fixes #1999) 3257 * Workaround broken operating systems: check for trailing '/' in filenames (fixes #1989) 3258 * Allow using pcre with cross-compiling (pcre-config got fixed; fixes #1986) 3259 * Add "lighty.req_env" table to mod_magnet for setting/getting environment values for cgi (fixes #1967, thx presbrey) 3260 * Fix segfault in mod_expire after failed config parsing (fixes #1992) 3261 * Add ssi.content-type option (default text/html, fixes #615) 3262 * Add support for "real" entropy from /dev/[u]random (fixes #1977) 3263 * Adding support for additional chars in LDAP usernames (fixes #1941) 3264 * Ignore multiple "If-None-Match" headers (only use first one, fixes #753) 3265 * Fix 100% cpu usage if time() < 0 (thx to gaspa and cate, fixes #1964) 3266 * Allow max-keep-alive-requests to depend on conditional (fixes #1881) 3267 * Make dependency on svnversion/git optional (for devel versionstamp, fixes #2009) 3268 3269- 1.4.22 - 2009-03-07 3270 * Fix wrong lua type for CACHE_MISS/CACHE_HIT in mod_cml (fixes #533) 3271 * Fix default vhost in mod_simple_vhost (fixes #1905) 3272 * Handle EINTR in mod_rrdtool (fixes #604) 3273 * Fix rrd error after graceful restart (fixes #419) 3274 * Fix EAGAIN handling for freebsd sendfile (fixes #1913, thx AnMaster for spotting the problem) 3275 * Fix segfault in mod_scgi (fixes #1911) 3276 * Treat EPIPE as connection-closed error in network_freebsd_sendfile.c (another fix from #1913) 3277 * Fix useless redirection of stderr in mod_rrdtool, as it gets redirected to /dev/null later. (fixes #1922) 3278 * Fix some problems with more strict compilers (#1923) 3279 * Fix segfault if siginfo_t* is NULL in sigaction handler (fixes #1926) 3280 3281- 1.4.21 - 2009-02-16 3282 3283 * Fix base64 decoding in mod_auth (#1757, thx guido) 3284 * Fix mod_cgi segfault when bound to unix domain socket (#653) 3285 * Do not rely on ioctl FIONREAD (#673) 3286 * Now really fix mod auth ldap (#1066) 3287 * Fix leaving zombie process with include_shell (#1777) 3288 * Removed debian/, openwrt/ and cygwin/; they weren't kept up-to-date, and we decided to remove dist. specific stuff 3289 * Try to convert string options to shorts for numeric options in config file; allows to use env-vars for numeric options. (#1159, thx andrewb) 3290 * Do not cache default vhost in mod_simple_vhost (#709) 3291 * Trust pcre-config, do not check for pcre manually (#1769) 3292 * Fix fastcgi authorization in subdirectories with check-local=disabled; don't split pathinfo for authorizer. (#963) 3293 * Add possibility to disable methods in mod_compress (#1773) 3294 * Fix duplicate connection keep-alive/transfer-encoding headers (#960) 3295 * Fixed fix for round-robin in mod_proxy (forgot to increment the index) (#1715) 3296 * Fix fastcgi-authorizer handling; Status: 200 is now accepted as the doc requests 3297 * Compare address family in inet_ntop_cache 3298 * Revert CVE-2008-4359 (#1720) fix "encoding+simplifying urls for rewrite/redirect": too many regressions. 3299 * Use FD_CLOEXEC if possible (fixes #1821) 3300 * Optimized buffer usage in mod_proxy (fixes #1850) 3301 * Fix uninitialized value in time struct after strptime 3302 * Do not pass Proxy-Connection: header from client to backend http server in mod_proxy (#1877) 3303 * Fix wrong malloc sizes in mod_accesslog (probably nothing bad happened...) (fixes #1855, thx ycheng) 3304 * Some small buffer.c fixes (closes #1837) 3305 * Remove floating point math from server.c (fixes #1402) 3306 * Disable SSLv2 by default 3307 * Use/enforce sane max-connection values (fixes #1803) 3308 * Allow mod_compress to return 304 (Not Modified); compress ignores the static-file.etags option.(fixes #1884) 3309 * Add option to ignore the "Expect: 100-continue" header instead of returning 417 Expectation failed (closes #1017) 3310 * Use modified etags in mod_compress (fixes #1800) 3311 * Fix max-connection limit handling/100% cpu usage (fixes #1436) 3312 * Fix error handling in freebsd-sendfile (fixes #1813) 3313 * Silenced the annoying "request timed out" warning, enable with the "debug.log-timeouts" option (fixes #1529) 3314 * Allow tabs in header values (fixes #1822) 3315 * Added Language conditional (fixes #1119); patch by petar 3316 * Fix wrong format strings (#1900, thx stepancheg) 3317 3318- 1.4.20 - 2008-09-30 3319 3320 * Fix mod_compress to compile with old gcc version (#1592) 3321 * Fix mod_extforward to compile with old gcc version (#1591) 3322 * Update documentation for #1587 3323 * Fix #285 again: read error after SSL_shutdown (thx [email protected]) and clear the error queue before some other calls (CVE-2008-1531) 3324 * Fix mod_magnet: enable "request.method" and "request.protocol" in lighty.env (#1308) 3325 * Fix segfault for appending matched parts if there was no regex matching (just give empty strings) (#1601) 3326 * Use data_response_init in mod_fastcgi x-sendfile handling for response.headers, fix a small "memleak" (#1628) 3327 * Don't send empty Server headers (#1620) 3328 * Fix conditional interpretation of core options 3329 * Enable escaping of % and $ in redirect/rewrite; only two cases changed their behaviour: "%%" => "%", "$$" => "$" 3330 * Fix accesslog port (should be port from the connection, not the "server.port") (#1618) 3331 * Fix mod_fastcgi prefix matching: match the prefix always against url, not the absolute filepath (regardless of check-local) 3332 * Overwrite Content-Type header in mod_dirlisting instead of inserting (#1614), patch by Henrik Holst 3333 * Handle EINTR in mod_cgi during write() (#1640) 3334 * Allow all http status codes by default; disable body only for 204,205 and 304; generate error pages for 4xx and 5xx (#1639) 3335 * Fix mod_magnet to set con->mode = p->id if it generates content, so returning 4xx/5xx doesn't append an error page 3336 * Remove lighttpd.spec* from source, fixing all problems with it ;-) 3337 * Do not rely on PATH_MAX (POSIX does not require it) (#580) 3338 * Disable logging to access.log if filename is an empty string 3339 * Implement a clean way to open /dev/null and use it to close stdin/out/err in the needed places (#624) 3340 * merge spawn-fcgi changes from trunk (from @2191) 3341 * let spawn-fcgi propagate exit code from spawned fcgi application 3342 * close connection after redirect in trigger_b4_dl (thx icy) 3343 * close connection in mod_magnet if returned status code 3344 * fix bug with IPv6 in mod_evasive (#1579) 3345 * fix scgi HTTP/1.* status parsing (#1638), found by [email protected] 3346 * [tests] fixed system, use foreground daemons and waitpid 3347 * [tests] removed pidfile from test system 3348 * [tests] fixed tests needing php running (if not running on port 1026, search php in env[PHP] or /usr/bin/php-cgi) 3349 * fixed typo in mod_accesslog (#1699) 3350 * replaced buffer_{append,copy}_string with the _len variant where possible (#1732) (thx crypt) 3351 * case insensitive match for secdownload md5 token (#1710) 3352 * Handle only HEAD, GET and POST in mod_dirlisting (same as in staticfile) (#1687) 3353 * fixed mod_secdownload problem with unsigned time_t (#1688) 3354 * handle EAGAIN and EINTR for freebsd sendfile (#1675) 3355 * Use filedescriptor 0 for mod_scgi spawn socket, redirect STDERR to /dev/null (#1716) 3356 * fixed round-robin balancing in mod_proxy (#1715) 3357 * fixed EINTR handling for waitpid in mod_fastcgi 3358 * mod_{fast,s}cgi: overwrite environment variables (#1722) 3359 * inserted many con->mode checks; they should prevent two modules to handle the same request if they shouldn't (#631) 3360 * fixed url encoding to encode more characters (#266) 3361 * allow digits in [s]cgi env vars (#1712) 3362 * fixed dropping last character of evhost pattern (#161) 3363 * print helpful error message on conditionals in global block (#1550) 3364 * decode url before matching in mod_rewrite (#1720) -- (reverted for 1.4.21) 3365 * fixed conditional patching of ldap filter (#1564) 3366 * Match headers case insensitive in response (removing of X-{Sendfile,LIGHTTPD-*}, catching Date/Server) [2281] 3367 * fixed bug with case-insensitive filenames in mod_userdir (#1589), spotted by "anders1" (CVE-2008-4360) 3368 * fixed format string bugs in mod_accesslog for SYSLOG 3369 * replaced fprintf with log_error_write in fastcgi debug 3370 * fixed mem leak in ssi expression parser (#1753), thx Take5k 3371 * hide some ssl errors per default, enable them with debug.log-ssl-noise (#397) 3372 * do not send content-encoding for 304 (#1754), thx yzlai 3373 * fix segfault for stat_cache(fam) calls with relative path (without '/', can be triggered by x-sendfile) (#1750) 3374 * fix splitting of auth-ldap filter 3375 * workaround ldap connection leak if a ldap connection failed (restarting ldap) 3376 * fix auth.backend.ldap.bind-dn/pw problems (only read from global context for temporary ldap reconnects, thx ruskie) 3377 * fix memleak in request header parsing (#1774, thx qhy) (CVE-2008-4298) 3378 * fix mod_rewrite memleak/endless loop detection (#1775, thx phy - again!) 3379 * use decoded url for matching in mod_redirect (#1720) (CVE-2008-4359) -- (reverted for 1.4.21) 3380 3381- 1.4.19 - 2008-03-10 3382 3383 * added support for If-Range: <date> (#1346) 3384 * added support for matching $HTTP["scheme"] in configs 3385 * fixed initgroups() called after chroot (#1384) 3386 * fixed case-sensitive check for Auth-Method (#1456) 3387 * execute fcgi app without /bin/sh if used as argument to spawn-fcgi (#1428) 3388 * fixed a bug that made /-prefixed extensions being handled also when 3389 matching the end of the uri in fcgi,scgi and proxy modules (#1489) 3390 * print error if X-LIGHTTPD-send-file cannot be done; reset header 3391 Content-Length for send-file. Patches by Stefan Buehler 3392 * prevent crash in certain php-fcgi configurations (#841) 3393 * add IdleServers and Scoreboard directives in ?auto mode for mod_status (#1507) 3394 * open log immediately after daemonizing, fixes SIGPIPEs on startup (#165) 3395 * HTTPS env var should be "on" when using mod_extforward and the X-Forwarded-Proto header is set. (#1499) 3396 * generate ETag and Last-Modified headers for mod_ssi based on newest modified include (#1491) 3397 * support letterhomes in mod_userdir (#1473) 3398 * support chained proxies in mod_extforward (#1528) 3399 * fixed bogus "cgi died ?" if we kill the CGI process on shutdown 3400 * fixed ECONNRESET handling in network-openssl 3401 * fixed handling of EAGAIN in network-linux-sendfile (#657) 3402 * reset conditional cache (#1164) 3403 * create directories in mod_compress (was broken with alias/userdir) (#1027) 3404 * fixed out of range access in fd array (#1562, #372) (CVE-2008-0983) 3405 * mod_compress should check if the request is already handled, e.g. by fastcgi (#1565) 3406 * remove broken workaround for buggy Opera version with ssl/chunked encoding (#285) 3407 * generate etag/last-modified header for on-the-fly-compressed files (#1171) 3408 * req-method OPTIONS: do not insert default response if request was denied, do not deny OPTIONS by default (#1324) 3409 * fixed memory leak on windows (#1347) 3410 * fixed building outside of the src dir (#1349) 3411 * fixed including of stdint.h/inttypes.h in etag.c (#1413) 3412 * do not add Accept-Ranges header if range-request is disabled (#1449) 3413 * log the ip of failed auth tries in error.log (enhancement #1544) 3414 * fixed RoundRobin in mod_proxy (#516) 3415 * check for symlinks after successful pathinfo matching (#1574) 3416 * fixed mod-proxy.t to run with a builddir outside of the src dir 3417 * do not suppress content on "307 Temporary Redirect" (#1412) 3418 * fixed Content-Length header if response body gets removed in connections.c (#1412, part 2) 3419 * do not generate a "Content-Length: 0" header for HEAD requests, added test too 3420 * remove compress cache file if compression or write failed (#1150) 3421 * fixed body handling of status 300 requests 3422 * spawn-fcgi: only try to connect to unix socket (not tcp) before spawning (#1575) 3423 * fix sending source of cgi script instead of 500 error if fork fails (CVE-2008-1111) 3424 * fix min-procs handling in mod_scgi.c, just set to max-procs (patch from #623) 3425 * fix sending "408 - Timeout" instead of "410 - Gone" for timedout urls in mod_secdownload (#1440) 3426 * workaround #1587: require userdir.path to be set to enable mod_userdir (empty string allowed) (CVE-2008-1270) 3427 * make configure checks for --with-pcre, --with-zlib and --with-bzip2 failing if the headers aren't found 3428 * fixed handling of waitpid() == EINTR mod_ssi on solaris 3429 3430- 1.4.18 - 2007-09-09 3431 3432 * fixed compile error on IRIX 6.5.x on prctl() (#1333) 3433 * fixed forwarding a SIGINT and SIGHUP when using max-workers (#902) 3434 * fixed FastCGI header overrun in mod_fastcgi (reported by [email protected]) 3435 * fixed hanging redirects with keep-alive due to missing 3436 "Content-Length: 0" headers 3437 * fixed crashing when using undefined environment variables in the config 3438 * fixed compilation of mod_mysql_vhost on irix (#1341) 3439 3440- 1.4.17 - 2007-08-29 3441 3442 * added dir-listing.set-footer in mod_dirlisting (#1277) 3443 * added sending UID and PID for SIGTERM and SIGINT to the logs 3444 * fixed hardcoded font-sizes in mod_dirlisting (#1267) 3445 * fixed different ETag length on 32/64 platforms (#1279) 3446 * fixed compression of files < 128 bytes by disabling compression (#1241) 3447 * fixed mysql server reconnects (#518) 3448 * fixed disabled keep-alive for dynamic content with HTTP/1.0 (#1166) 3449 * fixed crash on mixed EOL sequences in mod_cgi 3450 * fixed key compare (#1287) 3451 * fixed invalid char in header values (#1286) 3452 * fixed invalid "304 Not Modified" on broken timestamps 3453 * fixed endless loop on shrunk files with sendfile() on BSD (#1289) 3454 * fixed counter overrun in ?auto in mod_status (#909) 3455 * fixed too aggressive caching of nested conditionals (#41) 3456 * fixed possible overflow in unix-socket path checks on BSD (#713) 3457 * fixed extra Content-Length header on 1xx, 204 and 304 (#1002) 3458 * fixed handling of duplicate If-Modified-Since to return 304 3459 * fixed extracting status code from NPH scripts (#1125) 3460 * fixed prctl() usage (#1310) 3461 * removed config-check if passwd files exist (#1188) 3462 * fixed crash when etags are disabled but the client sends one (#1322) 3463 * fixed crash when freeing the config in mod_alias 3464 * fixed server.error-handler-404 breakage from 1.4.16 (#1270) 3465 * fixed entering 404-handler from dynamic content (#948) 3466 * added more debug infos for FAM based stat-cache 3467 * use more LSB like paths in the sample config (#1242) 3468 3469- 1.4.16 - 2007-07-25 3470 3471 * added static-file.etags, etag.use-inode, etag.use-mtime, etag.use-size 3472 to customize the generation of ETags for static files. (#1209) 3473 (patch by <[email protected]>) 3474 * fixed typecast of NULL on execl() (#1235) 3475 (patch by F. Denis) 3476 * fixed circumventing url.access-deny by trailing slash (#1230) 3477 * fixed crash on duplicate headers with trailing WS (#1232) 3478 * fixed accepting more connections then requested (#1216) 3479 * fixed mem-leak in mod_auth (reported by Stefan Esser) 3480 * fixed crash with md5-sess and cnonce not set in mod_auth (reported by Stefan Esser) 3481 * fixed missing check for base64 encoded string in mod_auth and Basic auth 3482 (reported by Stefan Esser) 3483 * fixed possible crash in Auth-Digest header parser on trailing WS in 3484 mod_auth (reported by Stefan Esser) 3485 * fixed check on stale errno values, which broke handling of broken fastcgi 3486 applications. (#1245) 3487 * fixed crash on 32bit archs when debug-msgs are printed in mod_scgi, mod_fastcgi 3488 and mod_webdav (#1263) 3489 3490- 1.4.15 - 2007-04-13 3491 3492 * fixed broken Set-Cookie headers 3493 3494- 1.4.14 - 2007-04-13 3495 3496 * fix crash if gethostbyaddr() failed on redirect [1718] 3497 * properly handle 206 responses generated by *cgi scripts. (#755) [1716] 3498 * added HTTPS=on to the environment of cgi scripts (#861) [1684] 3499 * fix handling of 303 (#1045) [1678] 3500 * made the configure check for lua more portable [1677] 3501 * added mod_extforward module [1665] 3502 * references to the fam stat cache engine should be conditional (#1039) [1664] 3503 * fix http 500 errors (colin.stephen/at/o2.com) #1041 [1663] 3504 * prevent wrong pidfile unlinking on graceful restart (Chris Webb) [1656] 3505 * ignore empty packets from STDERR stream. #998 3506 * fix a crash for files with an mtime of 0 reported by cubiq on irc [1519] 3507 CVE-2007-1870 3508 * allow empty passwords with ldap (Jörg Sonnenberger) [1516] 3509 * mod_scgi.c segfault fix #964 [1501] 3510 * Added round-robin support to mod_fastcgi [1500] 3511 * Handle DragonFlyBSD the same way as Freebsd (Jörg Sonnenberger) [1492,1676] 3512 * added now and weeks support to mod_expire. #943 3513 * fix cpu hog in certain requests [1473] CVE-2007-1869 3514 * fix for handling hostnames with trailing dot [1406] 3515 * fixed header-injection via server.tag (#1106) 3516 * disabled caching of files without a content-type to solve the 3517 aggressive caching of FF 3518 * remove trailing white-spaces from HTTP-requests before parsing (#1098) 3519 * fixed accesslog.use-syslog in a conditional and the caching of the 3520 accesslog for files (fixes #1064) 3521 * fixed various crashes at startup on broken accesslog.format strings (#1000) 3522 * fixed handling of %% in accesslog.format 3523 * fixed conditional dir-listing.exclude (#930) 3524 * reduced default PATH_MAX to 255 (#826) 3525 * ECONNABORTED is not known on cygwin (#863) 3526 * fixed crash on url.redirect and url.rewrite if %0 is used in a global context 3527 (#800) 3528 * fixed possible crash in debug-message in mod_extforward 3529 * fixed compilation of mod_extforward on glibc < 2.3.4 3530 * fixed include of empty in the configfiles (#1076) 3531 * send SIGUSR1 to fastcgi children before SIGTERM. libfcgi wants SIGUSR1. (#737) 3532 * fixed missing AUTH_TYPE entry in the fastcgi environment. (#889) 3533 * fixed compilation in network_writev.c on MacOS X 10.3.9 (#903) 3534 * added kill-signal as another setting for fastcgi backends. See the wiki for more. 3535 3536- 1.4.13 - 2006-10-09 3537 3538 * added initgroups in spawn-fcgi (#871) 3539 * added apr1 support htpasswd in mod-auth (#870) 3540 * added lighty.stat() to mod_magnet 3541 * fixed segfault in split CRLF CRLF sequences 3542 (introduced in 1.4.12) (#876) 3543 * fixed compilation of LOCK support in mod-webdav 3544 * fixed fragments in request-URLs (#869) 3545 * fixed pkg-config check for lua5.1 on debian 3546 * fixed Content-Length = 0 on HEAD requests without 3547 a known Content-Length (#119) 3548 * fixed mkdir() forcing 0700 (#884) 3549 * fixed writev() on FreeBSD 4.x and older (#875) 3550 * removed warning about a 404-error-handler 3551 returned 404 3552 * backported and fixed the buildsystem changes for 3553 webdav locks 3554 * fixed plugin loading so we can finally load lua 3555 extensions in mod_magnet scripts 3556 * fixed large uploads if xattr is enabled 3557 3558- 1.4.12 - 2006-09-23 3559 3560 * added experimental LOCK support for webdav 3561 * added Content-Range support for PUT in webdav 3562 * added support for += on empty arrays in config-files 3563 * added ssl.cipher-list and ssl.use-sslv2 3564 * added $HTTP["querystring"] conditional 3565 * added mod_magnet as long-term replacement for mod_cml 3566 * added work-around for a Opera Bug with SSL + Chunked-Encoding 3567 * changed --print-config to print to stdout instead of stderr 3568 * changed no longer use 0600 for new files with webdav. umask is 3569 honored. Make sure you have set a proper umask. 3570 * fixed upload hangs with SSL 3571 * fixed connection drops with SSL (aka bad retry) 3572 * fixed path traversal with \ on cygwin 3573 * fixed mem-leak in mod_flv_streaming 3574 * fixed required trailing newline in configfiles (#142) 3575 * fixed quoting the autoconf files (#466) 3576 * fixed empty Host: + $HTTP["host"] handling (#458) 3577 * fixed handling of If-Modified-Since if ETag is not set 3578 * fixed default-shell if SHELL is not set (#441) 3579 * fixed appending and assigning of env.* vars 3580 * fixed empty FCGI_STDERR packets 3581 * fixed conditional server.allow-http-11 3582 * fixed handling of follow-symlink + lstat() 3583 * fixed SIGHUP handling if max-workers is used 3584 * fixed "Software caused connection abort" messages on FreeBSD 3585 3586- 1.4.11 - 2006-03-09 3587 3588 * added ability to specify which ip address spawn-fci listens on 3589 (agkr/at/pobox.com) 3590 * added mod_flv_streaming to streaming Flash Movies efficiently 3591 * fixed handling of error codes returned by mod_dav_svn behind a 3592 mod_proxy 3593 * fixed error-messages in mod_auth and mod_fastcgi 3594 * fixed re-enabling overloaded local fastcgi backends 3595 * fixed handling of deleted files in linux-sendfile 3596 * fixed compilation on BSD and MacOSX 3597 * fixed $SERVER["socket"] on a already bound socket 3598 * fixed local source retrieval on windows 3599 (secunia) 3600 * fixed hanging cgi if remote side is dying while reading 3601 from the pipe (sandy/at/meebo.com) 3602 3603- 1.4.10 - 2006-02-08 3604 3605 * added docs for mod_dirlisting 3606 * added fastcgi.map-extensions to mod_fastcgi 3607 * fixed load balancing for mod_fastcgi 3608 * fixed extra newline for syslog() in mod_accesslog 3609 * fixed user-track cookie for IE in mod_usertrack 3610 * fixed crash in digest handling in mod_auth 3611 * fixed handling of 301 response-bodies from a mod_proxy backend 3612 * fixed loading of base modules if server.modules is not set 3613 * fixed broken cgi if mod_scgi is loaded 3614 3615- 1.4.9 - 2006-01-14 3616 3617 * added server.core-files option (sandy <sandy/at/meebo.com>) 3618 * added docs for mod_status 3619 * added mod_evasive to limit the number of connections by IP (<w1zzard/at/techpowerup.com>) 3620 * added the power-magnet to mod_cml 3621 * added internal statistics to mod_fastcgi 3622 * added server.statistics-url to get internal statistics from mod_status 3623 * added support for conditional range-requests through If-Range 3624 * added static building via scons 3625 * fixed 100% cpu loops in mod_cgi ("sandy" <sjen/at/cs.stanford.edu>) 3626 * fixed handling for secure-download.timeout (jamis/at/37signals.com) 3627 * fixed IE bug in content-charset in the output of mod_dirlisting (sniper/at/php.net) 3628 * fixed typos and language in the docs (ryan-2005/at/ryandesign.com) 3629 * fixed assertion in mod_cgi on HEAD request is Content-Length (<sandy/at/meebo.com>) 3630 * fixed handling if equal but duplicate If-Modified-Since request headers 3631 * fixed endless loops in mod_fastcgi if backend is dead 3632 * fixed Depth: 1 handling in PROPFIND requests on empty dirs 3633 * fixed encoding of UTF8 encoded dirlistings (Jani Taskinen <sniper/at/iki.fi>) 3634 * fixed initial bind to a unix-domain socket through server.bind 3635 * fixed handling of lowercase filesystems 3636 * fixed duplicate request headers cause by mod_setenv 3637 3638- 1.4.8 - 2005-11-23 3639 3640 * added auto-reconnect to ldap-server in mod_auth 3641 (joerg/at/netbsd.org) 3642 * changed auth.ldap-cafile to be optional 3643 (joerg/at/netbsd.org) 3644 * added strip_request_uri in mod_fastcgi 3645 * added more X-* headers to mod_proxy 3646 (Ben Grimm <bengrimm/at/gmail.com>) 3647 * added 'debug' to simple-vhost to suppress the 3648 (mod_simple_vhost.c.157) No such file or directory /servers/ww.lighttpd.net/pages/ 3649 messages by default 3650 * added support to let the server listen on UNIX-socket 3651 * changed default stat-cache-engine to 'simple' 3652 * removed debian/ dir from source package on request by packager 3653 * fixed max-age timestamps in mod_expire 3654 * fixed encoding the filenames in PROPFIND in mod_webdav 3655 * fixed range request handling in network_writev 3656 * fixed retry on connect error in mod_fastcgi 3657 (Robert G. Jakabosky <bobby/at/alphatrade.com>) 3658 * fixed possible crash in mod_webdav if sqlite3 support 3659 is available but not use 3660 * fixed fdvent-handler init if server.max-worker was used 3661 (Siddharth Vijayakrishnan <mail/at/bluefireworks.net>) 3662 * fixed missing cleanup in mysql_vhost 3663 * fixed assert() in "connections.c:962: 3664 connection_handle_read_state: Assertion 'c->mem->used' failed." 3665 * fixed 64bit issue in md5 3666 * fixed crash in mod_status 3667 * fixed duplicate headers in mod_proxy 3668 * fixed Content-Length in HEAD request in mod_proxy 3669 * fixed unsigned/signed comparisons 3670 * fixed streaming in mod_cgi 3671 * fixed possible overflow in password-salt handling 3672 (reported on slashdot by james-web/at/and.org) 3673 * fixed server-traffic-limit if connection limit is not set 3674 3675- 1.4.7 - 2005-11-02 3676 3677 * added FD_CLOEXEC to fds which are kept open for a longer time 3678 * added smaller, moving mmaped windows to network_writev 3679 * added madvise() to instruct the kernel the do proper read-ahead in network_writev 3680 * added support for %I in mod_accesslog 3681 * added better compat to Apache for ?auto in mod_status 3682 * added support for userdirs without a entry in /etc/passwd in mod_userdir 3683 (rob/at/inversepath.com) 3684 * added startup-time selectable network-backend 3685 * added location of upload-files to config as array 3686 * added webdav.log-xml for logging xml-content in mod_webdav 3687 * added Cache-Control: max-age to mod_expire 3688 * workaround missing client-bug by assuming we received a close-notify on 3689 non-keep-alive requests in SSL request 3690 * disabled kerberos5 support by default to fix compilation on RHEL 3691 * fixed order of library checks to fix compilation on Solaris 9 3692 * fixed open file-descriptors on read-error 3693 * fixed crash if /var/tmp is not writable 3694 3695- 1.4.6 - 2005-10-09 3696 3697 * fixed compilation on MacOS X and cygwin 3698 * fixed compressed output if caching was disabled (seen in IE and Opera) 3699 * fixed range-request option 3700 * fixed mysql-vhost module (was broken in 1.4.5) 3701 * fixed false positive in the detection of case-insensitive FS 3702 3703- 1.4.5 - 2005-10-02 3704 3705 * added all DeltaV methods as known methods 3706 * added buffer-to-disk of request content 3707 * added warning for unused variables in conditionals 3708 * added global index-generators to mod_indexfile 3709 * fixed caching for remote-ip conditionals with keep-alive 3710 * fixed redirects with content 3711 * fixed infinite loop in exec-cmd in mod_ssi 3712 * fixed segfault in config handling for mod_mysql_vhost 3713 * fixed segfault on FIFOs/Sockets 3714 * fixed possible crash on uninit memory if If-Modified-Since was too long 3715 * fixed accounting of mem-chunks 3716 * fixed starving of connections on high load 3717 * fixed crc errors in mod_compress on 64bit platforms 3718 * fixed handling of overlapping fastcgi packets (bug added in 1.4.4) 3719 * fixed logic of conditionals if a header was not set 3720 * fixed a segfault in mod_rewrite if %1 references were used 3721 * fixed handling of empty request URIs in HTTP requests 3722 3723- 1.4.4 - 2005-09-16 3724 * added support for %V in mod_accesslog 3725 * added a option for a FastCGI responder to send static files 3726 * added md5 and blowfish hashes to htpasswd 3727 * fixed METHOD in mod_accesslog of WebDAV methods 3728 * fixed check for permission before files in sent 3729 * fixed mod-proxy and content for non-POST requests 3730 * fixed compilation of mod_cml on MacOS X 3731 * fixed SSL errmsg after accept() 3732 * fixed memleak in stat-cache 3733 * fixed aborted connections if file was moved while in transfer 3734 * fixed mem-usage for large FastCGI transfers 3735 3736- 1.4.3 - 2005-09-01 3737 3738 * added graceful shutdown 3739 * added server.max-connections 3740 * fixed compilation on all BSD platforms 3741 * fixed init of kqueue and /dev/poll after daemonize 3742 * fixed segfault if select() is event-handler and more than FD_SETSIZE 3743 fds are opened 3744 * fixed compilation of mod_cml 3745 * fixed bin-copy-env in mod_fastcgi 3746 3747- 1.4.2 - 2005-08-29 3748 3749 * fixed mimetype detection on uppercase extensions 3750 * fixed memleak in stat-cache 3751 * fixed infinite loop in mod_cgi 3752 * fixed alignment crashes on sparc64 and alpha64 3753 * fixed test system for gentoo ebuild 3754 * fixed infinite loop in SSL 3755 * fixed range request for files > 2Gb 3756 3757- 1.4.1 - 2005-08-22 3758 3759 * added a complete Class 1 compliant mod_webdav 3760 * fixed ssl support (especially on OpenBSD) 3761 * fixed response header in body problem in mod_cgi 3762 * fixed numbers before body problem 3763 * fixed compilation on Solaris and FreeBSD 3764 * fixed conditional options in mod_dirlisting 3765 * fixed segfault in mod_dirlisting for NFS directories 3766 * fixed check for docroot in change-root environments 3767 3768- 1.4.0 - 2005-08-17 3769 3770 * added nested conditionals 3771 * added remote-ip to $HTTP 3772 * added support for stat-cache via FAM 3773 * added a read-only WebDAV module 3774 * fixed cleanup in mod_proxy and mod_fastcgi 3775 * fixed handling of filenames on case-insensitive filesystems 3776 3777- 1.3.16 - 2005-07-31 3778 3779 * added Date: headers to dynamic HTTP/1.0 requests 3780 * added support for OPTION * HTTP/1.1 3781 * added support for accesslog to syslog 3782 * added support for PATH_INFO guessing if check-local is disabled in 3783 mod_fastcgi 3784 * added switch to disable range-requests 3785 * added valid-user option for mod_auth (tigger at gentoo.org) 3786 * added JavaScript based sorting to mod_status (erik) 3787 * added selective TCP_CORK (Christian von Roques) 3788 * break up endless loops with Status: 500 3789 * fixed endless loops in mod_rewrite 3790 * mapped url.rewrite and url.rewrite-final to uri.rewrite-once 3791 * fixed compilation for mod_trigger_b4_dl 3792 * fixed 'can't reach host' in mod_proxy 3793 * error-handler-404 defaults to Status: 200 and static files work now 3794 3795- 1.3.15 - 2005-07-15 3796 3797 * added mod_cml 3798 * added mod_trigger_b4_dl 3799 * added encoding to mod_dirlisting 3800 * added ?auto to mod_status 3801 * relaxed handling of characters in URIs even more 3802 * fixed detection of sendfile() on Linux 2.4.x 3803 * fixed comparison of buffers for short strings 3804 * server.errorfile-prefix is now conditional 3805 * fixed mod_rrdtool to close STDERR 3806 3807- 1.3.14 - 2005-06-15 3808 3809 * added SCGI support via mod_scgi 3810 * added hash-based and round-robin load balancing to mod_proxy 3811 * fixed range requests larger than 2Gb 3812 * fixed compilation on Solaris 3813 * fixed endless loops in mod_fastcgi, mod_cgi and mod_proxy 3814 * fixed handling of URIs for '+' and characters > 127 3815 3816- 1.3.13 - 2005-03-06 3817 3818 * added customizable directory listings 3819 * fixed compile error on all BSD unixes 3820 * fixed PATHINFO handling for FastCGI 3821 * fixed handling of remote-close on FreeBSD and OpenSSL 3822 3823- 1.3.12 - 2005-03-02 3824 3825 * added ssl.ca-file 3826 * added support for \n\n as terminator 3827 * rewrote test-framework and added more tests 3828 * fixed cgi.assign with empty handler 3829 * fixed segfault in debug-code 3830 * fixed mod_expire if modification-timestamps are used 3831 * fixed segfault on duplication Host-headers 3832 * fixed endless loop in mod_fastcgi 3833 * fixed handling of dead fastcgi-processes 3834 3835- 1.3.11 - 2005-02-20 3836 3837 * added REMOTE_PORT and SERVER_ADDR to CGI-env 3838 * relaxed handling of newlines before keep-alive requests 3839 * relaxed uri-parser again 3840 * fixed PHP_SELF for php 3841 * fixed compilation on MacOS X 3842 * fixed handling of EPIPE and ECONNRESET 3843 * fixed crash in mod_auth if config-options are missing 3844 * fixed handling of missing trailing / in mod_userdir 3845 * fixed conditional secdownload.secret 3846 * fixed REPORT ME error due to failed reconnects in mod_fastcgi 3847 * fixed cmdline handling in mod_fastcgi 3848 3849- 1.3.10 - 2005-02-06 3850 3851 * added support for full commandline in spawn-fcgi 3852 * fixed missing check for IP-address in mod_fastcgi 3853 * fixed compile error with openssl in mod_fastcgi 3854 * removed a debug-message from network-functions 3855 3856- 1.3.9 - 2005-02-06 3857 3858 * added a stricter URI parser 3859 * added a check to the CGI spawner if the cgi-handler exists 3860 * added documentation for SSL and mod_status 3861 * added handling of startup environment to FastCGI 3862 * improved performance in FastCGI in buildind the FastCGI header 3863 * fixed min-procs and max-procs in FastCGI on PowerPC 3864 * fixed crash in setenv.add-response-header 3865 * fixed handling of nph-scripts in CGI 3866 * fixed accidentally sending out physical file in CGI on error 3867 * fixed cygwin support 3868 * fixed handling of missing files 3869 * fixed HEAD requests for dynamic requests 3870 3871- 1.3.8 - 2005-01-30 3872 3873 * added traffic shaping by remote host and virtual server 3874 * added auto-spawning of FastCGI process on demand 3875 * added virtual host based on MySQL 3876 * added mod_setenv to add environment and http headers on the fly 3877 * added support for syslog in mod_accesslog 3878 * improved output of mod_status 3879 * improved debug output in request handling 3880 * fixed build problems on netbsd 1.4.x and 1.5.x 3881 * fixed status.url configuration 3882 * fixed handling of != and !~ in configutation 3883 * fixed special cases in keep-alive handling 3884 * fixed timeout handling in handling POST requests 3885 * fixed mode AUTHORIZER in FastCGI 3886 * fixed handling if internal redirects if no Host: is supplied 3887 * fixed mod_alias + pathinfo 3888 * fixed directory indexes and permissions 3889 * enabled sending errorlog to syslog again 3890 3891- 1.3.7 - 2004-12-11 3892 3893 * added retries for a fastcgi connect if a php-childs 3894 dies at startup 3895 * update the debian directory 3896 * added setgroups() to drop all group-privs 3897 * added native port to windows via mingw32 3898 * added server.tag = '...' 3899 * added support for ${...} in mod_ssi 3900 * ported all plugins to conditional support 3901 * fixed multipart handling in cgi 3902 * fixed kqueue event-handler 3903 * fixed wrap-around in mod_status 3904 * fixed crash with SSL + FastCGI 3905 * fixed detection of SSL headers 3906 * fixed handling of dangling SSL_shutdown 3907 * fixed detection of keep-alive of Firefox 3908 3909- 1.3.6 - 2004-11-03 3910 3911 * added spawn-fcgi to the distribution 3912 * added support in fastcgi module to spawn fastcgi 3913 processes itself 3914 * fixed logfile cycling if external logging is used 3915 * fixed connection handling in fastcgi if no chunk 3916 encoding is used 3917 * fixed internal redirects on directories if a query 3918 string is supplied 3919 * fixed cgi-module for POST request above 4k 3920 * fixed mod_alias and follow-symlink 3921 3922- 1.3.5 - 2004-10-31 3923 3924 * added mod_alias 3925 * added mod_userdir 3926 * added the exec command to the SSI handler 3927 * added a switch to disable follow-symlinks 3928 * added a switch to disable IPv6 at compile-time 3929 * fixed compilation on FreeBSD and NetBSD 1.3.x 3930 * fixed segfault in pipelining 3931 * fixed a segfault in writev() handler if LFS is used 3932 3933- 1.3.4 - 2004-10-24 3934 3935 * added limiter for open files 3936 * added logging of user supplied data to accesslogs 3937 * added build target for OpenWRT 3938 * added plain backend support for auth-digest 3939 * fixed handling the external accesslog processes 3940 * fixed SERVER_NAME in CGI and FastCGI 3941 3942- 1.3.3 - 2004-10-16 3943 3944 * added support for NL terminators in CGI-scripts 3945 * added support for conditionals in mod_auth, 3946 mod_simple_vhost and mod_evhost 3947 * added a error-handler for 404 codes 3948 * fixed request counter in the rrdtool module 3949 * fixed log-file cycling 3950 * fixed seg-fault 3951 3952- 1.3.2 - 2004-09-30 3953 3954 * fixed file-cache 3955 3956- 1.3.1 - 2004-09-30 3957 3958 * fixed file-cache 3959 * fixed parsing of IPv6 addresses 3960 * fixed cgi for cygwin 3961 * fixed test-suite for FreeBSD and IRIX 3962 * fixed handling of shrunken files 3963 * fixed handling of REQUEST_URI after rewrite 3964 3965- 1.3.0 - 2004-09-17 3966 3967 * added build for MacOS X and Cygwin 3968 * added handling of more than one socket 3969 * added config-conditions for User-Agent and Referer 3970 * added final rewrite-rules 3971 3972- 1.2.8 - 2004-09-11 3973 3974 * added a cache for mimetypes 3975 * added X-Forwarded-For for mod_proxy 3976 * fixed handling of comments in If-Modified-Since 3977 * fixed error handling in FastCGI code 3978 * fixed expire plugin for second Expire header 3979 3980- 1.2.7 - 2004-09-04 3981 3982 * added mod_rrdtool for internal statistics 3983 * added xattr support 3984 * added user-controlable timeouts 3985 * improved documentation for many plugins 3986 * fixed POST requests for mod_proxy 3987 * fixed rare hang with CGI 3988 * fixed seg-fault if no configfile is specified 3989 * fixed rare problem in FastCGI header generation 3990 3991- 1.2.6 - 2004-08-26 3992 3993 * added apache-like accesslog definition 3994 * enabled timestamp cache again 3995 * improved performance in the string compare functions 3996 * fixed double-free in fastcgi handler 3997 * fixed error-handling in cgi handler 3998 3999- 1.2.5 - 2004-08-10 4000 4001 * added skeleton for solaris 10 port-API 4002 * added compression support even if no cachedir is set 4003 * added conditional configoptions 4004 * fixed compilation on OpenBSD 4005 * fixed kqueue support 4006 * fixed pipelining bug 4007 * fixed parallel build (triggered by Gentoo) 4008 * updated debian postinst 4009 4010- 1.2.4 - 2004-07-31 4011 4012 * added kqueue support 4013 * added server-side includes (mod_ssi) 4014 * fixed large post uploads in fastcgi 4015 * fixed rt-signals handling of delayed events 4016 4017- 1.2.3 - 2004-07-10 4018 4019 * added a proxy module for Java and friends 4020 * added support to pass accesslog through an external program 4021 * added mimetypes for text/css and text/javascript 4022 * fixed index-files for FastCGI if webserver is in chroot 4023 * fixed error messages of CGI process fails to exec() 4024 * fixed detection of pcre on IRIX and FreeBSD 4025 * fixed timestamps in Last-Modified checks 4026 * fixed 64bit builds 4027 * fixed mmap-caching of large files 4028 * relaxed the HTTP parser on empty headerfields 4029 4030- 1.2.2 - 2004-06-15 4031 4032 * added support for unix domain sockets in FastCGI 4033 * fixed mmap caching 4034 * fixed compile-time check for linux sendfile() 4035 * fixed check for pcre.h on Fedora Core 2 4036 4037- 1.2.1 - 2004-05-30 4038 4039 * added experimental support for AIX send_file() 4040 * added an mmap cache to the filehandle cache 4041 * enabled FreeBSD sendfile support again 4042 * added support for calling CGI binaries directly 4043 * fixed pipelining for POST requests 4044 * fixed some seg-faults if no configfile is used 4045 4046- 1.2.0 - 2004-05-17 4047 4048 * added conforming Expect: handling 4049 * added a module for secure and fast downloading 4050 * rewrote the event handling interface 4051 * fixed array handling which might lead to 'missing header' 4052 * fixed pipelining support 4053 * fixed build of the localizer extension 4054 * fixed cgi handling for headers which are flushed to often 4055 * fixed compilation on Solaris 2.5 4056 4057- 1.1.9 - 2004-04-29 4058 4059 * added AUTHORIZER mode to the FastCGI module 4060 * added 'check-local' option to disable local stat() in the FastCGI module 4061 * added prefix-notation for FastCGI module 4062 * added 'mod_usertrack' 4063 * improved CGI/FastCGI spec conformance 4064 * more code cleanup 4065 * fixed HTTP/1.1 chunk headers 4066 * fixed POST handling 4067 * fixed SSL network handler 4068 * fixed writev() network handler 4069 4070- 1.1.8 - 2004-04-16 4071 4072 * code cleanup 4073 * limiting the size of the request-body and the request-header 4074 * minor speed improvements 4075 * tightend the HTTP-Parser again 4076 4077- 1.1.7 - 2004-04-12 4078 4079 * added REMOTE_USER to the Server->FastCGI parameters 4080 * added bzip2 compression 4081 * improved the error-messages from the new configfile parser 4082 * fixed accesslog writing for erroneous requests 4083 * fixed LFS (64bit filesizes) handling 4084 * fixed Content-Length for HEAD requests 4085 * fixed some memory leaks in the configfile parser 4086 4087- 1.1.6 - 2004-04-10 4088 4089 * tightend the HTTP-Parser 4090 * rewrote the configfile parser (based on lemon) 4091 * fixed openssl support 4092 * fixed mmap+write support 4093 * use localtime in accesslog if possible 4094 4095- 1.1.5 - 2004-04-07 4096 4097 * added ldap backend to the auth 4098 * added a mod_expire 4099 * added debian packaging structure 4100 * merged redhat and suse spec-file 4101 * fixed eventhandler for solaris 4102 * fixed 64bit fileoffsets 4103 * fixed permissions of the PID-file 4104 4105- 1.1.4 - 2004-04-04 4106 4107 * added server.pid-file 4108 * added support for solaris /dev/poll and solaris sendfilev() 4109 * added support for writev() 4110 * added PATHINFO support (again) 4111 * fixed CLF logfile writing 4112 4113- 1.1.3 - 2004-03-25 4114 4115 * set default event-handler to 'poll' 4116 * fixed logcycling in chroot() 4117 * fixed hostname detection 4118 * added syslog() as fallback for error-logging 4119 4120- 1.1.2 - 2004-03-22 4121 4122 * added a "docroot" setting for fastcgi processes 4123 * performance improvements 4124 * improved configure script 4125 * rewrote the fastcgi config parser 4126 * added a rc-script for RedHat 4127 * added epoll() support for Linux 2.6.x 4128 4129- 1.1.1 - 2004-03-15 4130 4131 * added localizer module 4132 * performance improvements 4133 * code cleanup 4134 4135- 1.1.0 - 2004-03-06 4136 4137 * changed some configuration keys for better readability 4138 * moved the virtual-host code to mod_simple_vhost 4139 * added enhanced virtual host plugin from Christian Kruse 4140 * added two new auth-backends (htpasswd, htdigest) 4141 * fixed and improved authentication 4142 * stricter parsing of the Host: field 4143 * added a warning for unused configuration keys 4144 * improved FastCGI documentation 4145 4146- 1.0.3 - 2004-02-13 4147 4148 * a startup script has been added (LSB compliant) 4149 * HEAD requests were submitting the content like a GET request 4150 * the virtual directory listing got a face-lifting and fixes 4151 * request-headers are now handled case-in-sensitive as required 4152 by the standard. this fixes POST requests for w3m and some Proxies. 4153 4154- 1.0.2 - 2004-02-07 4155 4156 * rearrangement of the default configfile 4157 * some updates in the documentation 4158 * a entry in the error-log for a 404 4159 * stdout is no longer the default for the accesslog 4160