Problem: Assert being triggered when Windows returns WSAENOBUFS from recv call on large buffers.

Solution: Expect `WSAENOBUFS` as a valid response.  See https://github.com/zeromq/libzmq/issues/3263
This commit is contained in:
Nathan Toone 2018-11-05 16:09:26 -07:00
parent eb74b726c2
commit fa598579e6

View File

@ -284,7 +284,7 @@ int zmq::tcp_read (fd_t s_, void *data_, size_t size_)
last_error == WSAENETDOWN || last_error == WSAENETRESET
|| last_error == WSAECONNABORTED || last_error == WSAETIMEDOUT
|| last_error == WSAECONNRESET || last_error == WSAECONNREFUSED
|| last_error == WSAENOTCONN);
|| last_error == WSAENOTCONN || last_error == WSAENOBUFS);
errno = wsa_error_to_errno (last_error);
}
}