Project

General

Profile

Bug #3540 » sendfile-retry.patch

patch to force a retry immediately to detect error - normalperson (Eric Wong), 07/06/2010 05:12 AM

View differences:

io.c
stp->total += ss;
copy_length -= ss;
if (0 < copy_length) {
ss = -1;
errno = EAGAIN;
goto retry_sendfile;
}
}
if (ss == -1) {
(1-1/2)