diff options
author | Maxim Storchak <m.storchak@gmail.com> | 2020-12-29 17:29:05 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-12-29 23:03:32 +0100 |
commit | 04e0d8e579b289178b0303a92c705012237f4ca3 (patch) | |
tree | 80300504e397fd61011b43e2a8d91dda3a99f746 /shell/ash_test/ash-parsing/bkslash_newline1.tests | |
parent | 29a9043b36c9ca5a5d6f10fc183c7b7de0f979c7 (diff) | |
download | busybox-04e0d8e579b289178b0303a92c705012237f4ca3.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 'shell/ash_test/ash-parsing/bkslash_newline1.tests')
0 files changed, 0 insertions, 0 deletions