Skip to content

Commit

Permalink
feat(http): read proxy from environment (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
moepi authored May 11, 2020
1 parent 11570d7 commit 62a00a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions executors/http/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ func (Executor) Run(testCaseContext venom.TestCaseContext, l venom.Logger, step

tr := &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: e.IgnoreVerifySSL},
Proxy: http.ProxyFromEnvironment,
}

if len(e.UnixSock) > 0 {
Expand Down

0 comments on commit 62a00a9

Please sign in to comment.