Skip to content

Commit

Permalink
Forgot to actually override DialTLSContext
Browse files Browse the repository at this point in the history
  • Loading branch information
Kethsar committed Jul 19, 2024
1 parent a0397fa commit efa5030
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ func InitializeHttpClient(proxyUrl *url.URL) {
tr := http.DefaultTransport.(*http.Transport).Clone()

tr.DialContext = DialContextOverride
tr.DialTLSContext = DialTLSContextOverride
tr.ResponseHeaderTimeout = 10 * time.Second
tr.IdleConnTimeout = 45 * time.Second
tr.TLSHandshakeTimeout = 10 * time.Second
Expand Down

0 comments on commit efa5030

Please sign in to comment.