lighty's life

lighty developer blog


Hey folks,

back in december, we posted about a new lighty branch and opened up our project to the public:

It’s still not in a fully useable state yet, but we have been very busy and made huge progress meanwhile.
Look what we had last time:

Dec 08:

  • the config handling is pretty complete
  • basic connection handling including throttling and keep-alive/IO timeouts works
  • error logging works (introducing multiple error log levels and targets)
  • module/plugin interface mostly done
  • completely multithreaded
  • serves static files

Apart from some minor features we can now say the core is almost done with just small changes or optimizations to it.
We now start to add functionality to the core via modules and following ones already work pretty well:

  • mod_accesslog
  • mod_auth (auth-basic with plaintext files working)
  • mod_dirlist
  • mod_expire
  • mod_fastcgi (working pretty well already, giving usability a big boost!)
  • mod_openssl (ssl functionality provided through openssl)
  • mod_redirect (more powerful than in 1.x)
  • mod_rewrite (also more powerful than in 1.x)
  • mod_status
  • mod_vhost (virtual hosts, plenty of options and possibilities; combines mod_simple_vhost and mod_evhost plus more)

Performance seems to be really great so far. Thanks to being fully multithreaded, lighty 2.0 scales nicely with multicore CPUs.
It can handle several hundred thousand requests per second on a new Intel i7 (for really small static files, on localhost, not a great benchmark :P).

Let me tell you, alot has changed! And of course you’re welcome to test and have a look at its current state. But – just like last time – the forum as well as ticket/issue tracking is still disabled for it because we are not capable of providing any support as well as getting things done within a reasonable amount of time – so we focus on getting things done. :)

Some people might already be able to do basic stuff like serving static files, maybe play with fastcgi a little. As the config and design completely differs from 1.x you might already want to take a look or “test ride”. Remember: No support at the moment. :-)

We can’t (and really don’t want to) provide any specific release date but hope to have 2.0 in a usable state by the end of the year.
Remember we do this in our free time for fun.

As for lighty 1.4 and 1.5: everything will continue like before – no worries.

This is it for today.

Thanks for flying light.

PRE-RELEASE: Lighttpd 1.4.23rc2-r2534 + New 1.5 Snapshot

As a quick followup to release candidate #1 of 1.4.23, here comes #2.

You can get 1.4.23rc2-r2534 from these urls:

Please test it as much as possible and provide us with feedback.
A lot of testing ensures a good release.
If no showstoppers are encountered, there will be a final release soon.

Additionaly, we have created a new 1.5 snapshot.

It contains an important fix for a remote crash bug (only in 1.5) when ssl is used.

You can get 1.5.0snap-r2533 from these urls:

PRE-RELEASE: Lighttpd 1.4.23rc1-r2522

We would like to draw your attention to the latest pre-release of the stable 1.4 branch of lighttpd.

You can get the pre-release from these urls:
SHA1 checksum:

Please test it as much as possible and provide us with feedback.
A lot of testing ensures a good release.
If no showstoppers are encountered, there will be a final release soon.

Spawn-fcgi Removed From Lighttpd Src

As announced in an earlier post, spawn-fcgi has now been removed from the lighttpd tree.
spawn-fcgi has become a completely seperate project (located at

Lighty 1.4 can still spawn fastcgi processes internally via mod_fastcgi of course.

Package maintainers are advised to provide packages for spawn-fcgi, to make it a dependency of lighttpd and to remove the binary from any existing package as soon as possible so spawn-fcgi can be updated even when there is no new lighttpd release.

Lighttpd 1.4.23 will not include the binary anymore.

Google Summer of Code 2009

Like every year, google is running the GSoC 2009 and if you have a neat idea that you would like to propose, please do so and add it to the list at our "GSoc2009 wiki page"://