oops, ifd is gone
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1935 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.17
parent
0177a96f5d
commit
8392673b7e
|
@ -168,11 +168,9 @@ int network_write_chunkqueue_freebsdsendfile(server *srv, connection *con, int f
|
|||
case EAGAIN:
|
||||
break;
|
||||
case ENOTCONN:
|
||||
close(ifd);
|
||||
return -2;
|
||||
default:
|
||||
log_error_write(srv, __FILE__, __LINE__, "ssd", "sendfile: ", strerror(errno), errno);
|
||||
close(ifd);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue