mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-22 18:28:39 +01:00
fix connection establishment for AF_UNIX sockets
This commit is contained in:
parent
60e45f34b6
commit
0a6fc02702
@ -128,7 +128,7 @@ void zmq::ipc_connecter_t::start_connecting ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Connection establishment may be delayed. Poll for its completion.
|
// Connection establishment may be delayed. Poll for its completion.
|
||||||
else if (rc == -1 && errno == EAGAIN) {
|
else if (rc == -1 && errno == EINPROGRESS) {
|
||||||
handle = add_fd (s);
|
handle = add_fd (s);
|
||||||
handle_valid = true;
|
handle_valid = true;
|
||||||
set_pollout (handle);
|
set_pollout (handle);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user