httpd ranges do not work over 4gb

Lauri Kasanen cand at gmx.com
Fri Oct 8 12:47:56 UTC 2021


Hi,

On current bb master httpd, when the client requests valid Range: bytes
over 4gb, the response is wrong - it sends the entire file instead of
the requested range.

E.g.
Range: bytes=5926192128-5926195199

This is on x86_64, so CONFIG_LFS etc shouldn't matter. I haven't
yet looked deeper if it's just a matter of using 64-bit vars.

- Lauri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bb-config.gz
Type: application/octet-stream
Size: 6508 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20211008/1812c7cc/attachment.obj>


More information about the busybox mailing list