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