From d7d3359ac61bfbe63dd7af9659a6e586f1aaafb6 Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Mon, 7 Oct 2019 22:33:05 +0500 Subject: [PATCH] Removed ToDos as they're transformed into issues. --- internal/requester/httpclient.go | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/internal/requester/httpclient.go b/internal/requester/httpclient.go index fd197b8..e0283db 100644 --- a/internal/requester/httpclient.go +++ b/internal/requester/httpclient.go @@ -10,21 +10,14 @@ import ( func getHTTPClient() *http.Client { c := &http.Client{ Transport: &http.Transport{ - // ToDo: configurable. ExpectContinueTimeout: time.Second * 5, DialContext: (&net.Dialer{ - // ToDo: configurable. Timeout: time.Second * 5, }).DialContext, - // ToDo: configurable. ResponseHeaderTimeout: time.Second * 5, - // ToDo: configurable. - TLSHandshakeTimeout: time.Second * 10, + TLSHandshakeTimeout: time.Second * 10, }, } - // ToDo: skip verifying insecure certificates if option was - // specified. - return c }