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 }