summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_session.h
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-28 01:18:10 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-28 01:18:10 +0000
commit17a60a5a757ff61b996ca0ce0ebc2dc91ec5c9a9 (patch)
tree379f4c97f42050fa4fac1a6c15b02d33fa91c794 /net/spdy/spdy_session.h
parent53a663c3e9be86ebc3368680e6e2e93b20ef4418 (diff)
downloadchromium_src-17a60a5a757ff61b996ca0ce0ebc2dc91ec5c9a9.zip
chromium_src-17a60a5a757ff61b996ca0ce0ebc2dc91ec5c9a9.tar.gz
chromium_src-17a60a5a757ff61b996ca0ce0ebc2dc91ec5c9a9.tar.bz2
Disable SPDY IP pooling for SSL connections with client authentication.
Add a "bool client_cert_sent" member to SSLInfo to extract this info from SSLClientSocket. R=rtenneti@chromium.org BUG=101778 TEST=new unit test Review URL: http://codereview.chromium.org/8401024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107671 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_session.h')
-rw-r--r--net/spdy/spdy_session.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h
index 8f3505a..6eff60f 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -99,9 +99,13 @@ class NET_EXPORT SpdySession : public base::RefCounted<SpdySession>,
// Check to see if this SPDY session can support an additional domain.
// If the session is un-authenticated, then this call always returns true.
- // For SSL-based sessions, verifies that the certificate in use by this
- // session provides authentication for the domain.
+ // For SSL-based sessions, verifies that the server certificate in use by
+ // this session provides authentication for the domain and no client
+ // certificate was sent to the original server during the SSL handshake.
// NOTE: This function can have false negatives on some platforms.
+ // TODO(wtc): rename this function and the Net.SpdyIPPoolDomainMatch
+ // histogram because this function does more than verifying domain
+ // authentication now.
bool VerifyDomainAuthentication(const std::string& domain);
// Send the SYN frame for |stream_id|. This also sends PING message to check