func createHTTPClient()

in config/config.go [330:342]


func createHTTPClient(timeout time.Duration, disableKeepAlives bool) *http.Client {
	client := &http.Client{
		Transport: &http.Transport{
			ResponseHeaderTimeout: timeout,
			Dial: (&net.Dialer{
				Timeout: timeout,
			}).Dial,
			DisableKeepAlives: disableKeepAlives,
		},
	}

	return client
}