Higher timeout value for requests

This commit is contained in:
Joona Hoikkala 2018-11-08 16:07:43 +02:00
parent 9a10389bbd
commit a3c59eeb09
No known key found for this signature in database
GPG key ID: D5AA86BBF9B29A5C

View file

@ -28,7 +28,7 @@ func NewSimpleRunner(conf *ffuf.Config) ffuf.RunnerProvider {
simplerunner.client = &http.Client{
CheckRedirect: func(req *http.Request, via []*http.Request) error { return http.ErrUseLastResponse },
Timeout: time.Duration(3 * time.Second),
Timeout: time.Duration(10 * time.Second),
Transport: &http.Transport{
TLSClientConfig: &tls.Config{
InsecureSkipVerify: conf.TLSSkipVerify,