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;
|
||||
}
|
||||
continue;
|
||||
} else if (errno == EADDRNOTAVAIL) {
|
||||
} else if (errno == EADDRNOTAVAIL || errno == EINVAL) {
|
||||
err = errno;
|
||||
close(sd);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user