summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorCarlos Tadeu Panato Junior <ctadeu@gmail.com>2018-09-03 14:48:14 +0200
committerGitHub <noreply@github.com>2018-09-03 14:48:14 +0200
commit153b1190926b52787b682498745fdd7c1467432c (patch)
tree3fa35ce5488bff082cde3576c762a12828b33c1d /utils
parent531897b1f0d8176c1f983f921f1d1de618db0131 (diff)
parent9f465127592f2f3c893988daceaf608671da9df1 (diff)
downloadchat-153b1190926b52787b682498745fdd7c1467432c.tar.gz
chat-153b1190926b52787b682498745fdd7c1467432c.tar.bz2
chat-153b1190926b52787b682498745fdd7c1467432c.zip
Merge release-5.3
Diffstat (limited to 'utils')
-rw-r--r--utils/httpclient.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/httpclient.go b/utils/httpclient.go
index a21be7aa8..cb68462e3 100644
--- a/utils/httpclient.go
+++ b/utils/httpclient.go
@@ -52,7 +52,7 @@ func init() {
type DialContextFunction func(ctx context.Context, network, addr string) (net.Conn, error)
-var AddressForbidden error = errors.New("address forbidden")
+var AddressForbidden error = errors.New("address forbidden, you may need to set AllowedUntrustedInternalConnections to allow an integration access to your internal network")
func dialContextFilter(dial DialContextFunction, allowHost func(host string) bool, allowIP func(ip net.IP) bool) DialContextFunction {
return func(ctx context.Context, network, addr string) (net.Conn, error) {