summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_session.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/spdy/spdy_session.cc')
-rw-r--r--net/spdy/spdy_session.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
index fe55454..12b3d42 100644
--- a/net/spdy/spdy_session.cc
+++ b/net/spdy/spdy_session.cc
@@ -629,8 +629,7 @@ void SpdySession::ReadSocket() {
switch (bytes_read) {
case 0:
// Socket is closed!
- // TODO(mbelshe): Need to abort any active streams here.
- DCHECK(!active_streams_.size());
+ CloseAllStreams(ERR_CONNECTION_CLOSED);
return;
case net::ERR_IO_PENDING:
// Waiting for data. Nothing to do now.