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