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

Unified Diff: net/quic/quic_client_session.cc

Issue 362323005: Fix pooling comments in quic_client_session.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/quic/quic_client_session.cc
diff --git a/net/quic/quic_client_session.cc b/net/quic/quic_client_session.cc
index 39c2e719e7baa4e449a9ac691f63f098ede464fa..fce3bf79465914477bfaea7a19c256bdd557888c 100644
--- a/net/quic/quic_client_session.cc
+++ b/net/quic/quic_client_session.cc
@@ -489,10 +489,9 @@ bool QuicClientSession::CanPool(const std::string& hostname) const {
}
bool unused = false;
- // Pooling is prohibited for connections on which client certs were
- // sent. It is also prohibited for when channel ID was sent if the
- // hosts are from different eTLDs. And of course, it is prohibited
- // if the server cert is not valid for the new domain.
+ // Pooling is prohibited if the server cert is not valid for the new domain,
+ // and for connections on which client certs were sent. It is also prohibited
+ // when channel ID was sent if the hosts are from different eTLDs+1.
if (!ssl_info.cert->VerifyNameMatch(hostname, &unused))
return false;
« 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