diff --git a/httpconnection.go b/httpconnection.go index f86cc5b..85e9882 100644 --- a/httpconnection.go +++ b/httpconnection.go @@ -162,7 +162,7 @@ func newHTTPConnectionNegotiation(reqURL *url.URL, address string, ctx context.C reqURL.RawQuery = q.Encode() // Select the best connection - var conn Connection = nil + var conn Connection switch { case negotiateResponse.hasTransport("WebTransports"): // TODO