mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2026-05-23 04:23:45 -07:00
add comments
This commit is contained in:
committed by
Yasuhiro Matsumoto
parent
43e817cebe
commit
7ec2b8b7de
@@ -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 == "" {
|
||||
|
||||
Reference in New Issue
Block a user