busybox/networking
Maxim Storchak 04e0d8e579 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>
2020-12-29 23:03:32 +01:00
..
2020-12-18 22:51:46 +01:00
2020-08-13 17:12:56 +02:00
2020-08-13 17:12:56 +02:00
2020-08-13 17:12:56 +02:00
2020-08-13 17:12:56 +02:00
2020-12-18 22:51:46 +01:00
2020-12-13 19:18:28 +01:00
2020-12-29 23:03:32 +01:00
2020-12-13 19:04:19 +01:00
2020-08-13 17:12:56 +02:00
2020-12-18 04:12:51 +01:00
2020-08-13 17:12:56 +02:00
2020-11-29 11:37:34 +01:00
2020-11-29 11:37:34 +01:00
2020-12-18 04:12:51 +01:00
2020-12-20 11:25:50 +01:00
2020-12-19 00:07:13 +01:00
2020-11-29 11:37:34 +01:00
2020-12-29 16:53:11 +01:00
2020-12-19 00:33:06 +01:00
2020-12-15 18:47:25 +01:00
2020-12-29 16:53:11 +01:00
2020-12-18 04:12:51 +01:00
2020-08-13 17:12:56 +02:00
2020-12-18 04:12:51 +01:00
2020-08-13 17:12:56 +02:00