]> Cypherpunks repositories - gostls13.git/commit
net: ignore EADDRINUSE errors when dialing to IPv4 from IPv6 on FreeBSD
authorBryan C. Mills <bcmills@google.com>
Fri, 3 Dec 2021 19:02:58 +0000 (14:02 -0500)
committerBryan Mills <bcmills@google.com>
Fri, 10 Dec 2021 18:20:08 +0000 (18:20 +0000)
commitc473ca087733236a6524900d037d92f32d5f6b70
treeefb7627e2b18129d177c910aa67703805dee2ed3
parent13d15d147dd09b9209f5bc3778905684379129d8
net: ignore EADDRINUSE errors when dialing to IPv4 from IPv6 on FreeBSD

The failure mode in #34264 appears to match
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210726.

That bug was supposed to have been fixed in FreeBSD 12, but we're
still observing failures specifically for the 6-to-4 case on FreeBSD
12.2. It is not clear to me whether FreeBSD 13.0 is also affected.

For #34264

Change-Id: Iba7c7fc57676ae628b13c0b8fe43ddf2251c3637
Reviewed-on: https://go-review.googlesource.com/c/go/+/369157
Trust: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/dial_test.go
src/net/dial_unix_test.go