all: update golang.zx2c4.com/wireguard to github.com/tailscale/wireguard-go (#6692)
This is temporary while we work to upstream performance work in https://github.com/WireGuard/wireguard-go/pull/64. A replace directive is less ideal as it breaks dependent code without duplication of the directive. Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
@ -121,8 +121,8 @@ func (s *Server) Dial(ctx context.Context, network, address string) (net.Conn, e
|
||||
// This is useful if you need to have your tsnet services connect to other devices on
|
||||
// your tailnet.
|
||||
func (s *Server) HTTPClient() *http.Client {
|
||||
return &http.Client {
|
||||
Transport: &http.Transport {
|
||||
return &http.Client{
|
||||
Transport: &http.Transport{
|
||||
DialContext: s.Dial,
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user