diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-10-08 15:18:10 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-10-08 15:41:08 +0200 |
commit | 84874785c2e226002bb05a42c704ed2d18b99508 (patch) | |
tree | 596aedbabefc6c35d445478bccdcfc58af8a5b0f /klibc-utils/nuke.c | |
parent | 50c5b36dd7a7c13fabb4afa428c1556d25401324 (diff) |
httpd: if range is not specified, correctly fall back to read/write loop
range_start was staying -1, and comparison meant to detect
"is it the first sendfile that failed, or not the first?"
was making incorrect decision. The result: nothing is sent.
function old new delta
send_file_and_exit 865 877 +12
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'klibc-utils/nuke.c')
0 files changed, 0 insertions, 0 deletions