summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelim Gurun <sgurun@google.com>2014-08-06 16:36:51 -0700
committerBill Yi <byi@google.com>2014-08-19 11:01:57 -0700
commit5dab2e1b1e11ac6d66c770a614bef53339977e74 (patch)
tree563ce3740a5c9ce1931c448ade697dce7442e59e
parent76d11724fbe26af7926f134538aa2b6b92360de8 (diff)
downloadchromium_org-kitkat-mr2-release.tar.gz
Bug: 16799113 The original patch is https://codereview.chromium.org/417013005 We only take the SPDY part since Quic is not enabled. Change-Id: Ie25ab23b1984d1e87e6019df0224fe8d7f388828
-rw-r--r--net/spdy/spdy_session.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
index 9508f0e6af..0129368e8c 100644
--- a/net/spdy/spdy_session.cc
+++ b/net/spdy/spdy_session.cc
@@ -549,6 +549,10 @@ bool SpdySession::VerifyDomainAuthentication(const std::string& domain) {
if (!GetSSLInfo(&ssl_info, &was_npn_negotiated, &protocol_negotiated))
return true; // This is not a secure session, so all domains are okay.
+ // Disable pooling for secure sessions.
+ // TODO(rch): re-enable this.
+ return false;
+#if 0
bool unused = false;
return
!ssl_info.client_cert_sent &&
@@ -556,6 +560,7 @@ bool SpdySession::VerifyDomainAuthentication(const std::string& domain) {
(ServerBoundCertService::GetDomainForHost(domain) ==
ServerBoundCertService::GetDomainForHost(host_port_pair().host()))) &&
ssl_info.cert->VerifyNameMatch(domain, &unused);
+#endif
}
int SpdySession::GetPushStream(