diff --git a/xmpp.go b/xmpp.go index d766f39..9ddbf42 100644 --- a/xmpp.go +++ b/xmpp.go @@ -91,7 +91,7 @@ func connect(host, user, passwd string) (net.Conn, error) { if proxy == "" { proxy = os.Getenv("http_proxy") } - // test for no proxy + // test for no proxy, takes a comma separated list with substrings to match if proxy != "" { noproxy := os.Getenv("NO_PROXY") if noproxy == "" {