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
2013-01-14 01:34:48 +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
2018-12-28 03:20:17 +01:00
2014-01-09 20:09:43 +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
2016-03-04 07:36:04 +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
2018-12-28 03:20:17 +01:00
2019-10-25 13:41:31 +02: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
2019-01-10 20:18:02 +01:00
2019-01-01 15:40:43 +01:00
2019-01-01 15:40:43 +01:00
2019-01-01 15:40:43 +01:00
2018-11-25 16:17:26 +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