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 16 years ago
parent 2721197ff6
commit 6309a54031
  1. 1
      src/network_freebsd_sendfile.c

@ -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;

Loading…
Cancel
Save