Browse Source

oops, ifd is gone

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1935 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.17
Jan Kneschke 15 years ago
parent
commit
8392673b7e
  1. 2
      src/network_freebsd_sendfile.c

2
src/network_freebsd_sendfile.c

@ -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…
Cancel
Save