Remove wrong timeout for http source

This commit is contained in:
Alex X
2025-11-20 20:03:34 +03:00
parent aa0ece2d1e
commit 248fc7a11a
+1 -5
View File
@@ -8,7 +8,6 @@ import (
"net" "net"
"net/http" "net/http"
"strings" "strings"
"time"
"github.com/AlexxIT/go2rtc/pkg/core" "github.com/AlexxIT/go2rtc/pkg/core"
) )
@@ -69,10 +68,7 @@ func Do(req *http.Request) (*http.Response, error) {
return tlsConn, err return tlsConn, err
} }
client = &http.Client{ client = &http.Client{Transport: transport}
Timeout: time.Second * 5000,
Transport: transport,
}
} }
user := req.URL.User user := req.URL.User