Merge pull request #280 from hurtonm/fix_ipc_connecter

fix connection establishment for AF_UNIX sockets
This commit is contained in:
Pieter Hintjens 2012-03-20 12:50:43 -07:00
commit 58378c6a2c

View File

@ -128,7 +128,7 @@ void zmq::ipc_connecter_t::start_connecting ()
}
// 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_valid = true;
set_pollout (handle);