Removed ToDos as they're transformed into issues.

This commit is contained in:
Stanislav Nikitin 2019-10-07 22:33:05 +05:00
parent baee0c9b29
commit d7d3359ac6
No known key found for this signature in database
GPG Key ID: 106900B32F8192EE

View File

@ -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,
},
}
// ToDo: skip verifying insecure certificates if option was
// specified.
return c
}