mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 02:42:58 +01:00
issue 31 - Assertion failed: err == ECONNREFUSED || err == ETIMEDOUT (tcp_connecter.cpp:296)
This commit is contained in:
parent
604f7475ec
commit
d329c55da9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user