http_server: Lower maximum download rate from 1 MB/s to 125 kB/s.
We've found evidence that the current limit of 1 MB/s is overwhelming
some sites when p2p is enabled. If you do the numbers, 1 MB/s with
three concurrent downloads (the current limit) works out to a
bandwidth usage of 48 MBit/s which definitely overwhelms any
802.11a/b/g wireless network in use today.
Therefore, lower the bandwidth limit to 125 kB/s. With three
concurrent downloads, this works out to 6 MBit/s which is just a tad
more than half the nominal bandwidth of a 802.11b wireless network
(the slowest wireless standard in use today.)
Also lower the buffer size to avoid bursts.
Reviewed-by: Chris Sosa <email@example.com>
Commit-Queue: David Zeuthen <firstname.lastname@example.org>
Tested-by: David Zeuthen <email@example.com>
2 files changed