Skip to content

Commit

Permalink
fix: respect http_proxy environment variable Checkmarx#4283
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeriopeixotocx authored Sep 24, 2021
1 parent 58b574f commit 03b824f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/descriptions/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ var (
95, 67, 111, 110, 116, 101, 110, 116, 95, 99, 105, 115, 101, 99, 117, 114, 105, 116, 121, 46, 111, 114, 103}

tr = &http.Transport{
Proxy: http.ProxyFromEnvironment,
MaxIdleConns: 10,
IdleConnTimeout: 30 * time.Second,
DisableCompression: true,
Expand Down

0 comments on commit 03b824f

Please sign in to comment.