mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-15 15:16:52 +02:00
issue 31 - Assertion failed: err == ECONNREFUSED || err == ETIMEDOUT (tcp_connecter.cpp:296)
This commit is contained in:
@@ -293,7 +293,8 @@ zmq::fd_t zmq::tcp_connecter_t::connect ()
|
||||
|
||||
// Assert that the error was caused by 0MQ bug.
|
||||
// Networking problems are OK. No need to assert.
|
||||
zmq_assert (err == ECONNREFUSED || err == ETIMEDOUT);
|
||||
zmq_assert (err == ECONNREFUSED || err == ECONNRESET ||
|
||||
err == ETIMEDOUT);
|
||||
|
||||
errno = err;
|
||||
return retired_fd;
|
||||
|
Reference in New Issue
Block a user