From 248fc7a11af2473b502a4596ae9b009923c1efaa Mon Sep 17 00:00:00 2001 From: Alex X Date: Thu, 20 Nov 2025 20:03:34 +0300 Subject: [PATCH] Remove wrong timeout for http source --- pkg/tcp/request.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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