mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-01 10:57:59 +01:00
Merge pull request #4509 from sphaero/udploop
Problem: infinite loop binding a dgram socket if it fails
This commit is contained in:
commit
8c725093ac
@ -195,7 +195,7 @@ void zmq::udp_engine_t::plug (io_thread_t *io_thread_, session_base_t *session_)
|
|||||||
#endif
|
#endif
|
||||||
if (rc != 0) {
|
if (rc != 0) {
|
||||||
assert_success_or_recoverable (_fd, rc);
|
assert_success_or_recoverable (_fd, rc);
|
||||||
error (connection_error);
|
error (protocol_error);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user