diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-19 22:32:30 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-19 22:32:30 +0000 |
commit | 74d7e1d0cb8040ba0bfe15619ccb240e5c7d5c19 (patch) | |
tree | 576a0f758edf6643818c18b928279022fec6f06a /net/spdy/spdy_session_unittest.cc | |
parent | a2e42e8ec6518e502634f6a49124bc1098db2c0a (diff) | |
download | chromium_src-74d7e1d0cb8040ba0bfe15619ccb240e5c7d5c19.zip chromium_src-74d7e1d0cb8040ba0bfe15619ccb240e5c7d5c19.tar.gz chromium_src-74d7e1d0cb8040ba0bfe15619ccb240e5c7d5c19.tar.bz2 |
SPDY: Remove invalid DCHECK.
After GOAWAY frame support, it's possible for multiple SpdySessions to exist for the same host port pair.
Review URL: http://codereview.chromium.org/1630029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44971 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_session_unittest.cc')
-rw-r--r-- | net/spdy/spdy_session_unittest.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/spdy/spdy_session_unittest.cc b/net/spdy/spdy_session_unittest.cc index ece870c..471a52f 100644 --- a/net/spdy/spdy_session_unittest.cc +++ b/net/spdy/spdy_session_unittest.cc @@ -131,6 +131,11 @@ TEST_F(SpdySessionTest, GoAway) { MessageLoop::current()->RunAllPending(); EXPECT_FALSE(spdy_session_pool->HasSession(test_host_port_pair)); + + scoped_refptr<SpdySession> session2 = + spdy_session_pool->Get(test_host_port_pair, http_session.get()); + + session = NULL; } } // namespace |