Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Unified Diff: net/http/http_proxy_client_socket_pool.cc

Issue 9600022: net: Disconnect proxy sockets that have a certificate error. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_proxy_client_socket_pool.cc
diff --git a/net/http/http_proxy_client_socket_pool.cc b/net/http/http_proxy_client_socket_pool.cc
index fc7cf63b0b25810931c7065261dc36284dee04b7..ebea7767747db9a2b7552d7c14d825d753e8699a 100644
--- a/net/http/http_proxy_client_socket_pool.cc
+++ b/net/http/http_proxy_client_socket_pool.cc
@@ -225,6 +225,7 @@ int HttpProxyConnectJob::DoSSLConnectComplete(int result) {
} else {
// TODO(rch): allow the user to deal with proxy cert errors in the
// same way as server cert errors.
+ transport_socket_handle_->socket()->Disconnect();
wtc 2012/03/05 21:08:14 rch: the code on lines 233-234 below has a null po
return ERR_PROXY_CERTIFICATE_INVALID;
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698