mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-30 15:38:06 +01:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189543
@ -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…
Reference in New Issue
Block a user