WIP: rebase fork onto upstream/main (v1.103.0) #15
@@ -873,7 +873,15 @@ func (c *Client) dialNodeUsingProxy(ctx context.Context, n *tailcfg.DERPNode, pr
|
||||
}
|
||||
}()
|
||||
|
||||
target := net.JoinHostPort(n.HostName, "443")
|
||||
// Keep port selection in sync with dialNode.
|
||||
port := "443"
|
||||
if !c.useHTTPS() {
|
||||
port = "3340"
|
||||
}
|
||||
if n.DERPPort != 0 {
|
||||
port = fmt.Sprint(n.DERPPort)
|
||||
}
|
||||
target := net.JoinHostPort(n.HostName, port)
|
||||
|
||||
var authHeader string
|
||||
if buildfeatures.HasUseProxy {
|
||||
|
||||
Reference in New Issue
Block a user