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
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
index 9508f0e..0129368 100644
--- a/net/spdy/spdy_session.cc
+++ b/net/spdy/spdy_session.cc
@@ -549,6 +549,10 @@
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 @@
(ServerBoundCertService::GetDomainForHost(domain) ==
ServerBoundCertService::GetDomainForHost(host_port_pair().host()))) &&
ssl_info.cert->VerifyNameMatch(domain, &unused);
+#endif
}
int SpdySession::GetPushStream(