|
|
@ -973,6 +973,7 @@ func InitDeliverHooks() { |
|
|
|
webhookHTTPClient = &http.Client{ |
|
|
|
webhookHTTPClient = &http.Client{ |
|
|
|
Transport: &http.Transport{ |
|
|
|
Transport: &http.Transport{ |
|
|
|
TLSClientConfig: &tls.Config{InsecureSkipVerify: setting.Webhook.SkipTLSVerify}, |
|
|
|
TLSClientConfig: &tls.Config{InsecureSkipVerify: setting.Webhook.SkipTLSVerify}, |
|
|
|
|
|
|
|
Proxy: http.ProxyFromEnvironment, |
|
|
|
Dial: func(netw, addr string) (net.Conn, error) { |
|
|
|
Dial: func(netw, addr string) (net.Conn, error) { |
|
|
|
conn, err := net.DialTimeout(netw, addr, timeout) |
|
|
|
conn, err := net.DialTimeout(netw, addr, timeout) |
|
|
|
if err != nil { |
|
|
|
if err != nil { |
|
|
|