mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-28 19:52:00 +01:00
Resolve addresses in the calling thread on connect.
This allows us to actually report an error to the caller on resolve failure, rather than asserting later on in the io thread. Signed-off-by: Staffan Gimåker <staffan@spotify.com>
This commit is contained in:
@@ -82,9 +82,8 @@ bool zmq::sub_t::xhas_out ()
|
||||
|
||||
zmq::sub_session_t::sub_session_t (io_thread_t *io_thread_, bool connect_,
|
||||
socket_base_t *socket_, const options_t &options_,
|
||||
const char *protocol_, const char *address_) :
|
||||
xsub_session_t (io_thread_, connect_, socket_, options_, protocol_,
|
||||
address_)
|
||||
const address_t *addr_) :
|
||||
xsub_session_t (io_thread_, connect_, socket_, options_, addr_)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user