Merge pull request #4509 from sphaero/udploop

Problem: infinite loop binding a dgram socket if it fails
This commit is contained in:
Luca Boccassi 2023-02-06 15:23:35 +00:00 committed by GitHub
commit 8c725093ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}