Index: net/proxy/proxy_config.cc |
=================================================================== |
--- net/proxy/proxy_config.cc (revision 19002) |
+++ net/proxy/proxy_config.cc (working copy) |
@@ -56,6 +56,17 @@ |
return; |
} |
+ // If the proxy settings has only socks and others blank, |
+ // make that the default for all the proxies |
+ // This gets hit only on windows when using IE settings. |
+ if (url_scheme == "socks") { |
+ std::string proxy_server_string = "socks://"; |
+ proxy_server_string.append(proxy_server_for_scheme.token()); |
+ single_proxy = ProxyServer::FromURI(proxy_server_string); |
+ type = TYPE_SINGLE_PROXY; |
+ return; |
+ } |
+ |
// Trim whitespace off the url scheme. |
TrimWhitespaceASCII(url_scheme, TRIM_ALL, &url_scheme); |