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 {
|
func getHTTPClient() *http.Client {
|
||||||
c := &http.Client{
|
c := &http.Client{
|
||||||
Transport: &http.Transport{
|
Transport: &http.Transport{
|
||||||
// ToDo: configurable.
|
|
||||||
ExpectContinueTimeout: time.Second * 5,
|
ExpectContinueTimeout: time.Second * 5,
|
||||||
DialContext: (&net.Dialer{
|
DialContext: (&net.Dialer{
|
||||||
// ToDo: configurable.
|
|
||||||
Timeout: time.Second * 5,
|
Timeout: time.Second * 5,
|
||||||
}).DialContext,
|
}).DialContext,
|
||||||
// ToDo: configurable.
|
|
||||||
ResponseHeaderTimeout: time.Second * 5,
|
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
|
return c
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user