1.4.27 - P != NP for N != 1 and P != 0
August 13th, 2010
It has been a long time since the last release again, and again we have many bug fixes - and some small new features, check the following summary or the complete list below.
There have been fixes for ssl (SNI handling and the SSL_CTX_set_options fix) and mod_cgi and mod_proxy (response handling).
There is a new fdevent handler “libev”; “linux-rtsig” got removed.
And we bind now IPv6 sockets to IPv6 only in almost all cases (we disable “dual-stack”), see IPv6-Config for details.
Downloads
- http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.27.tar.gz
- SHA256: a866e6e1b33007f3c5a7ba47db7b85026254a094abbbf5fa182e5359db4d74eb
- SHA1: 578cc51903b46c516f0ee565842cb525933abb02
- MD5: e20cfcb4df8fbffc87112f438eac3360
- http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.27.tar.bz2
- SHA256: d459a77eb91dac8bb2da080c7765ad6fbf505b316078b41c7dd7077e1745b566
- SHA1: d37c4ebcf6f61fd7cf44b1dbe6b76b8772825869
- MD5: afece7dc547d71cb94ea2e34ee5b3f9b
- SHA256 checksums: http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.27.sha256sum
- SHA1 checksums: http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.27.sha1sum
- MD5 checksums: http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.27.md5sum
Changes from 1.4.26
- Fix handling return value of SSL_CTX_set_options (fixes #2157, thx mlcreech)
- Fix mod_proxy HUP handling (send final chunk, fix usage counter)
- mod_proxy: close connection on write error (fixes #2114)
- Check uri instead of physical path for directory redirect
- Fix detecting git repository (fixes #2173, thx ncopa)
- [mod_compress] Fix segfault when etags are disabled (fixes #2169)
- Reset uri.authority before TLS servername handling, reset all “keep-alive” data in connection_del (fixes #2125)
- Print double quotes properly when dumping config file (fixes #1806)
- Include IP addresses on error log on password failures (fixes #2191)
- Fix stalls while reading from ssl sockets (fixes #2197)
- Fix etag formatting on boxes with 32-bit longs
- Fix two compiler warnings
- mod_accesslog: fix %p for ipv6 sockets (fixes #2228, thx jo.henke)
- mod_fastcgi: Send 502 “Bad Gateway” if we couldn’t open the file for X-Sendfile (fixes #2226)
- mod_staticfile: add debug output if we ignore a file with static-file.exclude-extensions (fixes #2215)
- mod_cgi: fix race condition leaving response not forwarded to client (fixes #2217)
- mod_accesslog: Fix var declarations mixed in source (fixes #2233)
- mod_status: Add version to status page (fixes #2219)
- mod_accesslog: optimize accesslog_append_escaped (fixes #2236, thx crypt)
- openssl: silence annoying error messages for errno==0 (fixes #2213)
- 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)
- add check to stop loading plugins twice
- cleanup fdevent code, removed linux-rtsig handler, replaced some fprintf calls
- only require FDEVENT_IN bit to be set for listening connections (fixes #2227)
- add libev fdevent handler: server.event-handler = “libev”
- mod_proxy: return response as soon as it is available (fixes #2196)
- don’t overwrite global server.force-lowercase-filenames setting (fixes #2042)
- bind to IPV6-only if ipv6 address was specified (http://redmine.lighttpd.net/projects/lighttpd/wiki/IPv6-Config)
7 Responses to “1.4.27 - P != NP for N != 1 and P != 0”
Sorry, comments are closed for this article.
August 13th, 2010 at 01:40 PM Looks nice. Thanks. Unfortunately I get this error now: (fdevent_freebsd_kqueue.c.43) kqueue event delete failed: No such file or directory Switched back to 1.4.26
August 14th, 2010 at 12:00 PM Hi ingo. sry for that - the error is probably harmless, but spamming the log file is obviously a problem. You could try the "libev" backend if you manage to build lighty with it (or just remove that log write in the source, as current svn does). Use this as /usr/local/libdata/pkgconfig/libev.pc for building with libev (needs pkg-config too ofc): http://paste.lighttpd.net/1245
August 16th, 2010 at 06:55 AM libev uses select() on FreeBSD by default and causes high lighttpd load. If patched to use kqueue the 100% CPU load still remains. 1.4.27 mod_fastcgi seems to be instable on FreeBSD, I will post a bug report.
August 17th, 2010 at 05:47 PM How to use libev as fdevent handler ? Starting lighttpd: 2010-08-17 19:43:15: (configfile.c.1305) the selected event-handler in unknown or not supported: libev
August 19th, 2010 at 11:37 AM As this version no longer listens on ipv4 and ipv6 by default, I wonder what will be the recommend method for such a dual stack setup (which will be quite common the next years) The linked wiki entry is not that clear about this; especially I'd like to avoid config duplication.
August 19th, 2010 at 09:37 PM Thank you :-)
August 22nd, 2010 at 12:43 PM spacedust: you have to enable it in configure (--with-libev)
Pierre: i think the page is pretty clear; for http you just open a second socket, for https you need the ssl config twice (but you know "include", right?).