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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
index fc20bd0..f0d0904 100644
--- a/net/spdy/spdy_session.cc
+++ b/net/spdy/spdy_session.cc
@@ -629,7 +629,7 @@ void SpdySession::ReadSocket() {
switch (bytes_read) {
case 0:
// Socket is closed!
- CloseAllStreams(ERR_CONNECTION_CLOSED);
+ CloseSessionOnError(ERR_CONNECTION_CLOSED);
return;
case net::ERR_IO_PENDING:
// Waiting for data. Nothing to do now.