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