mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 10:33:52 +01:00
treat bind errors as a protocol_error instead of connection_error preventing an infinite loop of trying to create the udp socket as through the protocol_error the creation of the socket fails
This commit is contained in:
parent
acfdf67127
commit
b261f9a678
@ -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…
Reference in New Issue
Block a user