Supporting platforms without sendfile() implementation.

This is a quick and dirty sendfile() replacement.

This closes #452 PR on GitHub.
This commit is contained in:
Max Romanov
2020-08-17 12:28:48 +03:00
parent 4ac7a6f55f
commit 7ffc617ae8
2 changed files with 20 additions and 5 deletions

View File

@@ -84,10 +84,8 @@ fi
if [ $nxt_found = no ]; then
$echo
$echo "$0: error: no supported sendfile() found."
$echo
exit 1;
# No supported sendfile() found. Using our replacement.
nxt_found=yes
fi