rollback unwanted changes

This commit is contained in:
Igor Lobanov
2024-06-05 15:45:21 +02:00
parent 1f30d4216d
commit e35ba58f2a
7 changed files with 21 additions and 21 deletions

View File

@@ -6,7 +6,6 @@ import (
"net"
"net/http"
"net/url"
"time"
)
// httpClient returns a new HTTP client that uses the AdGuard Home's own DNS
@@ -23,7 +22,7 @@ func httpClient() (c *http.Client) {
return &http.Client{
// TODO(a.garipov): Make configurable.
Timeout: time.Minute * 5,
Timeout: writeTimeout,
Transport: &http.Transport{
DialContext: dialContext,
Proxy: httpProxy,