httpd: fix sendfile of files larger than 2 Gb. Closes 4754
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 4 Feb 2012 20:37:17 +0000 (21:37 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 4 Feb 2012 20:37:17 +0000 (21:37 +0100)
commitef43beac63aa7e4b2bccb069e47b5e4902bb895f
treea234390a123a116c6acd0727eeebb9d8c13d6ec5
parent9ec3cd400ad9930a8cd3de371271202de49adea9
httpd: fix sendfile of files larger than 2 Gb. Closes 4754

When built with "sendfile" support, httpd was unable to send large files
(>2 GB) in one single connection, terminating it before the full file
has been sent.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/httpd.c