mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-06 00:31:13 +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.
|
// Assert that the error was caused by 0MQ bug.
|
||||||
// Networking problems are OK. No need to assert.
|
// Networking problems are OK. No need to assert.
|
||||||
zmq_assert (err == ECONNREFUSED || err == ETIMEDOUT);
|
zmq_assert (err == ECONNREFUSED || err == ECONNRESET ||
|
||||||
|
err == ETIMEDOUT);
|
||||||
|
|
||||||
errno = err;
|
errno = err;
|
||||||
return retired_fd;
|
return retired_fd;
|
||||||
|
Loading…
Reference in New Issue
Block a user