mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 19:04:02 +03:00
Add load balancing network dialer
This commit is contained in:
@@ -113,7 +113,7 @@ func NewNetwork(dialer Dialer, dohHostname string, httpTimeout time.Duration) (*
|
||||
}
|
||||
|
||||
dohHTTPClient := &http.Client{
|
||||
Timeout: httpTimeout,
|
||||
Timeout: DefaultDNSTimeout,
|
||||
Transport: &http.Transport{
|
||||
DialContext: dialer.DialContext,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user