summaryrefslogtreecommitdiffstats
path: root/net/proxy
diff options
context:
space:
mode:
Diffstat (limited to 'net/proxy')
-rw-r--r--net/proxy/proxy_server.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/proxy/proxy_server.h b/net/proxy/proxy_server.h
index a3d5ca8..9060c39 100644
--- a/net/proxy/proxy_server.h
+++ b/net/proxy/proxy_server.h
@@ -29,6 +29,8 @@ class ProxyServer {
// Constructs an invalid ProxyServer.
ProxyServer() : scheme_(SCHEME_INVALID), port_(-1) {}
+ // If |host| is an IPv6 literal address, it must include the square
+ // brackets.
ProxyServer(Scheme scheme, const std::string& host, int port)
: scheme_(scheme), host_(host), port_(port) {}