I’ve created this patch for Lighttpd 1.4.19 (tested and compiled on Debian Lenny amd64). This patch adds configuration option:
‘connection.burst’
You should use it only with:
‘connection.kbytes-per-second’ setting.
Example:
connection.kbytes-per-second = 100
connection.burst = 50
In this example user will get 50 seconds fast-start and will be throttled down to 100KBp/s after fast start “burst” download of first 50sec.
It’s very useful for letting fast speed for downloading small files or for usage for FLV streaming when you like to give fast buffer burst speed and then throttle down.
I wrote this patch after looked long time in Google and had unfortune expirience with LARTC ‘s tools.
I hope this will be useful for you, for any comments, questions or bugs please write me a note.
Download:
http://www.debian.co.il/2009/09/lighttpd-burst-aka-faststart-patch/lighttpd-1419-burst/
Installation on Debian:
cd /usr/local/src/
apt-get source lighttpd
cd lighttpd-1.4.19
wget http://www.debian.co.il/wp-content/uploads/2009/09/lighttpd-1419-burst.patch
patch -p0 < lighttpd-1419-burst.patch
now compile and configure:
./configure
make
make install
Tags: burst, faststart, flv streaming, lighttpd