Skip to content

Commit

Permalink
Merge pull request #140 from OJ/idleconns
Browse files Browse the repository at this point in the history
Idleconns
  • Loading branch information
firefart authored May 16, 2019
2 parents c03c1cb + 21a200a commit 620d0ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libgobuster/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ func NewHTTPClient(c context.Context, opt *HTTPOptions) (*HTTPClient, error) {
Timeout: opt.Timeout,
CheckRedirect: redirectFunc,
Transport: &http.Transport{
Proxy: proxyURLFunc,
Proxy: proxyURLFunc,
MaxIdleConns: 100,
MaxIdleConnsPerHost: 100,
TLSClientConfig: &tls.Config{
InsecureSkipVerify: opt.InsecureSSL,
},
Expand Down

0 comments on commit 620d0ac

Please sign in to comment.