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