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

Unified Diff: net/quic/quic_client_session.cc

Issue 428373002: Merge 286628 "Merge 286598 "Disable SPDY and QUIC session pooling."" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1985_122/src/
Patch Set: Created 6 years, 5 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 | net/quic/quic_stream_factory_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_client_session.cc
===================================================================
--- net/quic/quic_client_session.cc (revision 286637)
+++ net/quic/quic_client_session.cc (working copy)
@@ -420,13 +420,20 @@
// logic will need to be revised.
DCHECK(connection()->connected());
SSLInfo ssl_info;
- bool unused = false;
if (!GetSSLInfo(&ssl_info) || !ssl_info.cert) {
// We can always pool with insecure QUIC sessions.
return true;
}
+
+ // Disable pooling for secure sessions.
+ // TODO(rch): re-enable this.
+ return false;
+
+#if 0
+ bool unused = false;
// Only pool secure QUIC sessions if the cert matches the new hostname.
return ssl_info.cert->VerifyNameMatch(hostname, &unused);
+#endif
}
QuicDataStream* QuicClientSession::CreateIncomingDataStream(
« no previous file with comments | « no previous file | net/quic/quic_stream_factory_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698