summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_session.h
diff options
context:
space:
mode:
authorrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-19 00:50:04 +0000
committerrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-19 00:50:04 +0000
commit38dfd13a2886bd4f002d79d807883c9762f06f44 (patch)
treeb784bd7aa409350de95207c4f256a3a2a8905713 /net/spdy/spdy_session.h
parenta71d32455848293246db0766650151a2db3c13d4 (diff)
downloadchromium_src-38dfd13a2886bd4f002d79d807883c9762f06f44.zip
chromium_src-38dfd13a2886bd4f002d79d807883c9762f06f44.tar.gz
chromium_src-38dfd13a2886bd4f002d79d807883c9762f06f44.tar.bz2
Correctly handle SPDY GOAWAY frames.
Review URL: https://chromiumcodereview.appspot.com/14232014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195032 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_session.h')
-rw-r--r--net/spdy/spdy_session.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h
index 63d104d..42ff8c4 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -604,7 +604,14 @@ class NET_EXPORT SpdySession : public base::RefCounted<SpdySession>,
void RecordHistograms();
void RecordProtocolErrorHistogram(SpdyProtocolErrorDetails details);
- // Closes all streams. Used as part of shutdown.
+ // Closes all active streams with stream id's greater than
+ // |last_good_stream_id|, as well as any created or pending streams.
+ // Does not close unclaimed push streams.
+ void CloseAllStreamsAfter(SpdyStreamId last_good_stream_id,
+ net::Error status);
+
+ // Closes all streams, including unclaimed push streams. Used as part of
+ // shutdown.
void CloseAllStreams(net::Error status);
void LogAbandonedStream(const scoped_refptr<SpdyStream>& stream,