diff --git a/net/netcheck/netcheck.go b/net/netcheck/netcheck.go index 04c9b83c1f5c2..54c92205f3522 100644 --- a/net/netcheck/netcheck.go +++ b/net/netcheck/netcheck.go @@ -1370,6 +1370,7 @@ func (c *Client) measureHTTPLatency(ctx context.Context, reg *tailcfg.DERPRegion connc <- conn tr := &http.Transport{ + DisableKeepAlives: true, DialContext: func(ctx context.Context, network, addr string) (net.Conn, error) { if !hasForceHTTPNode { return nil, errors.New("unexpected DialContext dial")