RELEASE: lighttpd 1.4.12 14

Posted by jan Sat, 23 Sep 2006 17: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 13: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

Optimizing PHP + FastCGI

Posted by jan Tue, 19 Sep 2006 21:32:42 GMT

Over the last evenings I helped several lighty users to tune their application stack. Instead of telling the same story over and over again I wrote it down into a wiki page:

wiki://Docs:PerformanceFastCGI

Over time this will be the main source for application tuning, hints and secrets.

XCache's demo

Posted by moo Sun, 17 Sep 2006 08:01:00 GMT

It has been about 5 months since the first announcement of XCache. But many of you may still wonder how XCache “looks” like. So i’ve spent some hours and finally setup Administration demo page and Coverage viewer demo page

XCache was stable (the cacher stufs), but now becomes more stable (installing, configuring), and seems a bit hot recently if you may google for “php” +“xcache” :)

Thanks for your support and encourage, XCache will goes on and on..

A New Power-Magnet 2

Posted by jan Sat, 16 Sep 2006 08: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.

PRE-RELEASE: lighttpd-1.4.12-r1303 2

Posted by jan Fri, 15 Sep 2006 10:39:00 GMT

A new pre-release has been uploaded with more fixes than the last release and with a new, hot module: mod_magnet . It is the promised replacement for mod_cml.

Update replaced r1303 by r1309

Get the pre-release from http://www.lighttpd.net/download/lighttpd-1.4.12-r1309.tar.gz while it is hot.

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
  * 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

forum is on the new host 4

Posted by jan Mon, 04 Sep 2006 12:49:13 GMT

The forum just got migrated to the new lighty-server. As long as the DNS is not update and as fallback, the old lighty server is proxying to the new host.

As a side-effect, registering a account in the forum works again. The trac on the new host also sends out notifications on ticket updates again.

PRE-RELEASE: lighttpd-1.4.12-20060901-1232.tar.gz 4

Posted by jan Fri, 01 Sep 2006 09:16:00 GMT

The 1.4.11 release need a maintainance package. This pre-release is taking the 1.4.11 code and fixes:

  • SSL upload hangs
  • SSL download breaks
  • cygwin path traversal

and adds:

  • LOCK/UNLOCK support for webdav

Please try it out and report any problems:

http://www.lighttpd.net/download/lighttpd-1.4.12-20060901-1232.tar.gz