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