In UNIX domain socket GC regression test, after setting a socket
non-blocking, EINPROGRESS is an acceptable result from connect().
This commit is contained in:
parent
ae46d95884
commit
0ca4746bcb
@ -160,7 +160,7 @@ static void
|
||||
my_connect(int sock, struct sockaddr *sa, socklen_t len)
|
||||
{
|
||||
|
||||
if (connect(sock, sa, len) < 0)
|
||||
if (connect(sock, sa, len) < 0 && errno != EINPROGRESS)
|
||||
err(-1, "%s: connect", test);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user