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