Bug 4952

Summary: httpd.c emits incorrect content length on range requests
Product: Busybox Reporter: Rob Walker <rwalker>
Component: NetworkingAssignee: unassigned
Status: RESOLVED FIXED    
Severity: major CC: busybox-cvs
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Host: Target:
Build:
Attachments: possible patch

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.