lib/fetch: don't abort connect(2) attempts on EINVAL
This commit is contained in:
parent
b5954c80db
commit
93186276ee
@ -608,7 +608,7 @@ happy_eyeballs_connect(struct addrinfo *res0, int verbose)
|
|||||||
unreach |= UNREACH_IPV6;
|
unreach |= UNREACH_IPV6;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
} else if (errno == EADDRNOTAVAIL) {
|
} else if (errno == EADDRNOTAVAIL || errno == EINVAL) {
|
||||||
err = errno;
|
err = errno;
|
||||||
close(sd);
|
close(sd);
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user