mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-03 20:29:28 -05:00
handle NOTCONN.
git-svn-id: file:///svn/unbound/trunk@1599 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
768c4b2643
commit
53a026eb4e
2 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
- bug #245: fix munin plugin, perform cleanup of stale lockfiles.
|
||||
- makedist.sh; better help text.
|
||||
- cache-min-ttl option and tests.
|
||||
- mingw detect error condition on TCP sockets (NOTCONN).
|
||||
|
||||
9 April 2009: Wouter
|
||||
- Fix for removal of RSASHA256_NSEC3 protonumber from ldns.
|
||||
|
|
|
|||
|
|
@ -876,6 +876,8 @@ comm_point_tcp_handle_write(int fd, struct comm_point* c)
|
|||
return 1;
|
||||
log_err("tcp writev: %s", strerror(errno));
|
||||
#else
|
||||
if(WSAGetLastError() == WSAENOTCONN)
|
||||
return 1;
|
||||
if(WSAGetLastError() == WSAEINPROGRESS)
|
||||
return 1;
|
||||
if(WSAGetLastError() == WSAEWOULDBLOCK) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue