]> git.pond.sub.org Git - empserver/commit
Fix windows client not always exiting
authorRon Koenderink <rkoenderink@yahoo.ca>
Mon, 25 Jan 2010 02:45:51 +0000 (20:45 -0600)
committerRon Koenderink <rkoenderink@yahoo.ca>
Mon, 25 Jan 2010 02:45:51 +0000 (20:45 -0600)
commiteea24fb017e3a1012b8e2a76e6274e2bd1f83b5c
treee01d6488af1a3a21b5dd8bb65c8a751f4b3a44d3
parent0e3bf4c38a588455e0815f6027b55161c8e30fe6
Fix windows client not always exiting

The call to WSAEnumNetworkEvents() was reseting network
events in particular WSAECONNRESET was sometimes being lost
causing the client to not exit.  The WSAEnumNetworkEvents()
was called from fd_is_socket() and has been replace with
getsockopt() to determine if the fd is socket or not.

Broken in commit 4d40a275, v4.3.23
src/lib/w32/w32sockets.c