Commit db448b5d by bergquist

Merge branch 'fredbcode-master'

* fredbcode-master:
  Fix bug tls renegociation problem in Notification channel (webhook) #14800
parents 9793c086 110ffb69
......@@ -3,6 +3,7 @@ package notifications
import (
"bytes"
"context"
"crypto/tls"
"fmt"
"io"
"io/ioutil"
......@@ -26,6 +27,9 @@ type Webhook struct {
}
var netTransport = &http.Transport{
TLSClientConfig: &tls.Config{
Renegotiation: tls.RenegotiateFreelyAsClient,
},
Proxy: http.ProxyFromEnvironment,
Dial: (&net.Dialer{
Timeout: 30 * time.Second,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment