Index: net/http/http_stream_request.cc |
diff --git a/net/http/http_stream_request.cc b/net/http/http_stream_request.cc |
index b3310a803036ee14f04a325c0704db2d38e44f5a..de7554be6dec7de2f73b29b0d0ce5a1f049a8e80 100644 |
--- a/net/http/http_stream_request.cc |
+++ b/net/http/http_stream_request.cc |
@@ -520,8 +520,10 @@ int HttpStreamRequest::DoInitConnection() { |
if (request_info().load_flags & LOAD_VERIFY_EV_CERT) |
ssl_config()->verify_ev_cert = true; |
- if (proxy_info()->proxy_server().scheme() == ProxyServer::SCHEME_HTTP) |
+ if (proxy_info()->proxy_server().scheme() == ProxyServer::SCHEME_HTTP || |
+ proxy_info()->proxy_server().scheme() == ProxyServer::SCHEME_HTTPS) { |
ssl_config()->mitm_proxies_allowed = true; |
+ } |
scoped_refptr<SSLSocketParams> ssl_params = |
new SSLSocketParams(tcp_params, http_proxy_params, socks_params, |