Removed ToDos as they're transformed into issues.
This commit is contained in:
parent
baee0c9b29
commit
d7d3359ac6
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user