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-c4023f1b3aa9svn/tags/lighttpd-1.4.12
parent
2721197ff6
commit
6309a54031
|
@ -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…
Reference in New Issue