Lighttpd security advisory reports:
Certain Connection header values will trigger an endless loop, for example:
“Connection: TE,Keep-Alive”
On receiving such value, lighttpd will enter an endless loop,
detecting an empty token but not incrementing the current string
position, and keep reading the ‘,’ again and again.
This bug was introduced in 1.4.31, when we fixed an “invalid read”
bug (it would try to read the byte before the string if it started
with ‘,’, although the value wasn’t actually used).