Commit d329c55d authored by Martin Sustrik's avatar Martin Sustrik

issue 31 - Assertion failed: err == ECONNREFUSED || err == ETIMEDOUT (tcp_connecter.cpp:296)

parent 604f7475
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment