RELEASE: lighttpd 1.4.12 14

Posted by jan Sat, 23 Sep 2006 19:17:00 GMT

I’m very proud to announce the release of 1.4.12.

After 8 pre-releases and several cross-compiles and test-runs no new bugs were found and you should have a solid and stable release in your hands.

Over the 1.4.11 was available for download (03/2006 – now) the number of lighty installations raised from 27 103 to 120 442 according to netcraft.com. That’s amazing. It was important for us to create a release is good enough to replace 1.4.11.

This release fixes several long-standing bugs like
  • SSL hangs with Opera (we added work-around for a bug in Opera)
  • a long list of fixes for SSL in general
  • added ssl.use-sslv2 and ssl.cipher-list for all who have to comply with PCI
and only added a 2 really new features:
  • (experimental) LOCK support for webdav
  • mod_magnet as long-term replacement for mod_cml
On mod_cml:
  • mod_cml is deprecated from now on
  • it will be removed in 1.5.0
  • mod_magnet provides the same functionality and more with a cleaner syntax and in a more generic form

Download:

ChangeLog:

  • added experimental LOCK support for webdav
  • added Content-Range support for PUT in webdav
  • added support for += on empty arrays in config-files
  • added ssl.cipher-list and ssl.use-sslv2
  • added $HTTP[“querystring”] conditional
  • added mod_magnet as long-term replacement for mod_cml
  • added work-around for a Opera Bug with SSL + Chunked-Encoding
  • changed—print-config to print to stdout instead of stderr
  • changed no longer use 0600 for new files with webdav. umask is honored. Make sure you have set a proper umask.
  • fixed upload hangs with SSL
  • fixed connection drops with SSL (aka bad retry)
  • fixed path traversal with \ on cygwin
  • fixed mem-leak in mod_flv_streaming
  • fixed required trailing newline in configfiles (#142)
  • fixed quoting the autoconf files (#466)
  • fixed empty Host: + $HTTP[“host”] handling (#458)
  • fixed handling of If-Modified-Since if ETag is not set
  • fixed default-shell if SHELL is not set (#441)
  • fixed appending and assigning of env.* vars
  • fixed empty FCGI_STDERR packets
  • fixed conditional server.allow-http-11
  • fixed handling of follow-symlink + lstat()
  • fixed SIGHUP handling if max-workers is used
  • fixed “Software caused connection abort” messages on FreeBSD

PRE-RELEASE: lighttpd-1.4.12-r1320 14

Posted by jan Wed, 20 Sep 2006 15:25:00 GMT

Ok, a last pre-release before the final .12 release:

UPDATE 3 http://www.lighttpd.net/download/lighttpd-1.4.12-r1335.tar.gz

Most important are:

  • SSL hang in phpMyAdmin with FireFox is fixed
  • SSL delays with Opera are fixed

Please try this release as hard as possible before we have a final release.

ChangeLog:

  • added experimental LOCK support for webdav
  • added Content-Range support for PUT in webdav
  • added support for += on empty arrays in config-files
  • added ssl.cipher-list and ssl.use-sslv2
  • added $HTTP[“querystring”] conditional
  • added mod_magnet as long-term replacement for mod_cml
  • added work-around for a Opera Bug with SSL + Chunked-Encoding
  • changed—print-config to print to stdout instead of stderr
  • fixed upload hangs with SSL
  • fixed connection drops with SSL (aka bad retry)
  • fixed path traversal with \ on cygwin
  • fixed mem-leak in mod_flv_streaming
  • fixed required trailing newline in configfiles (#142)
  • fixed quoting the autoconf files (#466)
  • fixed empty Host: + $HTTP[“host”] handling (#458)
  • fixed handling of If-Modified-Since if ETag is not set
  • fixed default-shell if SHELL is not set (#441)
  • fixed appending and assigning of env.* vars
  • fixed empty FCGI_STDERR packets
  • fixed conditional server.allow-http-11
  • fixed handling of follow-symlink + lstat()
  • fixed SIGHUP handling if max-workers is used
  • fixed “Software caused connection abort” messages on FreeBSD

A New Power-Magnet 2

Posted by jan Sat, 16 Sep 2006 10:56:00 GMT

In mod_cml is dead, long live mod_cml I gave some hints about mod_cml going to die soon. With lighttpd 1.4.12 there will be a new module called mod_magnet can attract every request and decide on its further execution.

If you want you implement most of our current modules via mod_magnet, e.g.:

Instead of inventing a new language as I did for the first versions of mod_cml we used lua again. Lua is a simple, performant, light and extensible language. Pretty much what your lighty is for web-servers.

Thanks to the help of the #lua channel in freenode especially rici I could implement the basic magnet-engine over the weekend. On http://p.caboo.se/12501 you can see the first version of the code-cache that is giving mod_magnet its performance.

While most of the configuration in lighty needs a restart of the server to get activated, mod_magnet reloads its scripts when you change them. The scripts itself are compliled once and executed on each request. Thanks to the architecture of lua it was very easy to implement the this byte-code cache, mOo had to write a while until his XCache worked nicely with php.

And now ? Try it out, get the 1.4.12 (or the last pre-release) and tell us how you like it.