mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-31 14:39:55 +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
|
||||
if (rc != 0) {
|
||||
assert_success_or_recoverable (_fd, rc);
|
||||
error (connection_error);
|
||||
error (protocol_error);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user