1 Index: boa-0.94.14rc21/src/pipe.c
2 ===================================================================
3 --- boa-0.94.14rc21.orig/src/pipe.c 2007-08-08 20:03:29.000000000 -0400
4 +++ boa-0.94.14rc21/src/pipe.c 2007-08-08 20:03:45.000000000 -0400
7 req->ranges->start = sendfile_offset;
8 if (bytes_written < 0) {
9 - if (errno == EWOULDBLOCK || errno == EAGAIN) {
10 + if (errno == ENOSYS) {
11 + return io_shuffle(req);
12 + } else if (errno == EWOULDBLOCK || errno == EAGAIN) {
13 return -1; /* request blocked at the pipe level, but keep going */
14 } else if (errno == EINTR) {