Added patch from https://bugs.launchpad.net/ubuntu/+source/lighttpd/+bug/645002