mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-10 23:28:34 +02:00
nhttpd: fix range handling
This commit is contained in:
@@ -329,7 +329,7 @@ bool CySocket::SendFile(int filed, off_t start, off_t size) {
|
||||
if (errno != EPIPE)
|
||||
perror("sendfile failed");
|
||||
if (errno != EINVAL)
|
||||
return false;
|
||||
return false;
|
||||
break;
|
||||
} else {
|
||||
BytesSend += written;
|
||||
|
Reference in New Issue
Block a user