diff options
author | erikchen@google.com <erikchen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-26 21:46:37 +0000 |
---|---|---|
committer | erikchen@google.com <erikchen@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-26 21:46:37 +0000 |
commit | a3eb05b90d69e44ada9e6afa99efb05e16c12996 (patch) | |
tree | c2d5e324f41bc5fb6f256ec5dbe238d46570f902 /net/spdy/spdy_session_pool.h | |
parent | 3b1cbd29ffbfde742e7cdda03460912c9c812c7b (diff) | |
download | chromium_src-a3eb05b90d69e44ada9e6afa99efb05e16c12996.zip chromium_src-a3eb05b90d69e44ada9e6afa99efb05e16c12996.tar.gz chromium_src-a3eb05b90d69e44ada9e6afa99efb05e16c12996.tar.bz2 |
SPDY sends RST_STREAM upon cancelling request, or bad header parse data.
Also fix spdy_http_stream_test errors.
TEST=net_unittests
BUG=46589, 47478, 50198
Review URL: http://codereview.chromium.org/3014030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53693 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_session_pool.h')
-rw-r--r-- | net/spdy/spdy_session_pool.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/spdy/spdy_session_pool.h b/net/spdy/spdy_session_pool.h index 0819b71..fbba64b 100644 --- a/net/spdy/spdy_session_pool.h +++ b/net/spdy/spdy_session_pool.h @@ -70,7 +70,8 @@ class SpdySessionPool // Close all Spdy Sessions; used for debugging. void CloseAllSessions(); - // Removes a SpdySession from the SpdySessionPool. + // Removes a SpdySession from the SpdySessionPool. This should only be called + // by SpdySession, because otherwise session->state_ is not set to CLOSED. void Remove(const scoped_refptr<SpdySession>& session); // NetworkChangeNotifier::Observer methods: |