aboutsummaryrefslogtreecommitdiff
path: root/miscutils/microcom.c
diff options
context:
space:
mode:
authorMaxim Storchak <m.storchak@gmail.com>2020-12-29 17:29:05 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-03-09 00:28:26 +0100
commitee1e0987e4c81b4a5369174ce22b0671198abb6b (patch)
treedd35c96597cee0c875d7563b84f517ce1600a639 /miscutils/microcom.c
parenta4c3a341394a1fb25be8c15d2ddfe3ec77cbb83c (diff)
downloadbusybox-ee1e0987e4c81b4a5369174ce22b0671198abb6b.tar.gz
httpd: fix offset for sendfile
If the Range: header is not present it the request, the offset passed to sendfile is wrong, and httpd falls back to the read-write loop. function old new delta send_file_and_exit 857 865 +8 handle_incoming_and_exit 2239 2230 -9 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 8/-9) Total: -1 bytes Signed-off-by: Maxim Storchak <m.storchak@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/microcom.c')
0 files changed, 0 insertions, 0 deletions