mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-27 02:53:12 +01:00
Added test case for issue 566
* Tests dealer-to-router connection 100 times * This was failing in ZMQ v4.0.0 RC1
This commit is contained in:
@@ -739,7 +739,7 @@ int zmq::stream_engine_t::write (const void *data_, size_t size_)
|
||||
// we'll get an error (this may happen during the speculative write).
|
||||
if (nbytes == SOCKET_ERROR && WSAGetLastError () == WSAEWOULDBLOCK)
|
||||
return 0;
|
||||
|
||||
|
||||
// Signalise peer failure.
|
||||
if (nbytes == SOCKET_ERROR && (
|
||||
WSAGetLastError () == WSAENETDOWN ||
|
||||
|
||||
Reference in New Issue
Block a user