diff --git a/pkg/tcp/request.go b/pkg/tcp/request.go index 13463cd7..74fd4132 100644 --- a/pkg/tcp/request.go +++ b/pkg/tcp/request.go @@ -8,7 +8,6 @@ import ( "net" "net/http" "strings" - "time" "github.com/AlexxIT/go2rtc/pkg/core" ) @@ -69,10 +68,7 @@ func Do(req *http.Request) (*http.Response, error) { return tlsConn, err } - client = &http.Client{ - Timeout: time.Second * 5000, - Transport: transport, - } + client = &http.Client{Transport: transport} } user := req.URL.User