Change-Id: I4eb57f046d8b40403220e40eb67a31c41adb3a38
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
bradfitz/foo
Brad Fitzpatrick 3 months ago
parent ccf61f56f7
commit 920bce0fe5

@ -422,6 +422,10 @@ func (a *Dialer) dialHostOpt(ctx context.Context, optAddr netip.Addr, optACEHost
go try(u443)
} // else we lost the race and it started already which is what we want
case u443:
if u80 == nil {
// We never started a port 80 dial, so just return the port 443 error.
return nil, res.err
}
err443 = res.err
default:
panic("invalid")

Loading…
Cancel
Save