diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-06-10 07:12:00 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-06-10 07:12:00 +0200 |
commit | d329c55da9c503e82831e940b0fc8dc9e5479975 (patch) | |
tree | 4de25fbd666427fd1a18080fe15d85a4966cddce /src | |
parent | 604f7475ec1d19df416156879db3ddd3c90d5a13 (diff) |
issue 31 - Assertion failed: err == ECONNREFUSED || err == ETIMEDOUT (tcp_connecter.cpp:296)
Diffstat (limited to 'src')
-rw-r--r-- | src/tcp_connecter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tcp_connecter.cpp b/src/tcp_connecter.cpp index 6102972..cd0ebc8 100644 --- a/src/tcp_connecter.cpp +++ b/src/tcp_connecter.cpp @@ -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; |