Skip to content

Commit

Permalink
Merge pull request #35 from paulip1792/feat/http-proxy
Browse files Browse the repository at this point in the history
feat(transport/http): Use http.ProxyFromEnvironment for Proxy
  • Loading branch information
natesales authored Sep 26, 2022
2 parents 1e09c26 + 5ede670 commit 13573e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions transport/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func HTTP(m *dns.Msg, tlsConfig *tls.Config, server, userAgent, method string, t
MaxConnsPerHost: 1,
MaxIdleConns: 1,
TLSHandshakeTimeout: handshakeTimeout,
Proxy: http.ProxyFromEnvironment,
},
Timeout: timeout,
}
Expand Down

0 comments on commit 13573e3

Please sign in to comment.