SOCKETS: Suppress expected read error message on close of a blocking socket.
This commit is contained in:
parent
8789172e4a
commit
e69c3adf5f
1 changed files with 2 additions and 1 deletions
|
@ -1232,7 +1232,8 @@ if (rbytes == SOCKET_ERROR) {
|
|||
(err != WSAEHOSTUNREACH) &&
|
||||
(err != WSAECONNREFUSED) &&
|
||||
(err != WSAECONNABORTED) &&
|
||||
(err != WSAECONNRESET))
|
||||
(err != WSAECONNRESET) &&
|
||||
(err != WSAEINTR)) /* or a close of a blocking read */
|
||||
sim_err_sock (INVALID_SOCKET, "read");
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue