Skip to content
Snippets Groups Projects
Commit a163effa authored by Daniel Nelson's avatar Daniel Nelson Committed by GitHub
Browse files

Add support for proxy environment variables to http_response (#3302)

parent 93ff8113
No related branches found
No related tags found
No related merge requests found
......@@ -98,6 +98,7 @@ func (h *HTTPResponse) createHttpClient() (*http.Client, error) {
}
client := &http.Client{
Transport: &http.Transport{
Proxy: http.ProxyFromEnvironment,
DisableKeepAlives: true,
TLSClientConfig: tlsCfg,
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment