mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-19 08:46:44 +01:00
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:
parent
eb74b726c2
commit
fa598579e6
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user