Disable SPDY pooling
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
Conflicts:
net/spdy/spdy_session.cc
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
index baef195..11b63cb 100644
--- a/net/spdy/spdy_session.cc
+++ b/net/spdy/spdy_session.cc
@@ -513,11 +513,16 @@
if (!GetSSLInfo(&ssl_info, &was_npn_negotiated, &protocol_negotiated))
return true; // This is not a secure session, so all domains are okay.
- return !ssl_info.client_cert_sent &&
+ // Disable pooling for secure sessions.
+ // TODO(rch): re-enable this.
+ return false;
+#if 0
+ return
(enable_credential_frames_ || !ssl_info.channel_id_sent ||
ServerBoundCertService::GetDomainForHost(domain) ==
ServerBoundCertService::GetDomainForHost(host_port_pair().host())) &&
ssl_info.cert->VerifyNameMatch(domain);
+#endif
}
int SpdySession::GetPushStream(