[PATCH] byte range request patch

Denys Vlasenko vda.linux at googlemail.com
Sun Feb 19 16:36:24 UTC 2012


On Wednesday 15 February 2012 22:32, Rob Walker wrote:
> Sorry for the repost, I didn't know what the conventions for subject 
> lines were.
> 
> httpd.c: fix byte range requests
> 
> Predicates whether to output a byte range on a boolean rather than on 
> whether range_start is non-zero.  Fixes the case where a client asks for 
> "Range: bytes=0-1" out of a larger file.

Thanks for finding this problem.
I used a slightly differemt solution:

http://git.busybox.net/busybox/commit/?id=8cce1b3ad8c28b5c34c24d79b32b6cebb75ea2f5

Please let me know if there are still problems.

-- 
vda


More information about the busybox mailing list