Bug 4952 - httpd.c emits incorrect content length on range requests
Summary: httpd.c emits incorrect content length on range requests
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Networking (show other bugs)
Version: unspecified
Hardware: All All
: P1 major
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-20 16:28 UTC by Rob Walker
Modified: 2012-04-03 06:10 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
possible patch (419 bytes, patch)
2012-03-20 16:33 UTC, Rob Walker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Walker 2012-03-20 16:28:32 UTC
When range_end requested is past the end of the file, httpd.c emits content length larger than actual bytes in the response.
Comment 1 Rob Walker 2012-03-20 16:33:13 UTC
Created attachment 4172 [details]
possible patch
Comment 2 Denys Vlasenko 2012-04-03 06:10:21 UTC
Thanks, applied to git.