handle ENOTCONN nicly on FreeBSD writev()

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.11-ssl-fixes@1316 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.12
Jan Kneschke 2006-09-18 18:05:35 +00:00
parent 2721197ff6
commit 6309a54031
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ int network_write_chunkqueue_freebsdsendfile(server *srv, connection *con, int f
case EINTR:
r = 0;
break;
case ENOTCONN:
case EPIPE:
case ECONNRESET:
return -2;