Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(776)

Unified Diff: net/spdy/spdy_session.h

Issue 14232014: Correctly handle SPDY GOAWAY frames. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/spdy/spdy_session.cc » ('j') | net/spdy/spdy_session.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session.h
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h
index 55ac9f9dc6438f95b1e3b67918b096c677846fde..7a9db969e6eb7a65c0aef1a0206bb626cee3a279 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -608,9 +608,16 @@ class NET_EXPORT SpdySession : public base::RefCounted<SpdySession>,
void RecordHistograms();
void RecordProtocolErrorHistogram(SpdyProtocolErrorDetails details);
- // Closes all streams. Used as part of shutdown.
+ // Closes all streams, including unclaimed push streams. Used as part of
+ // shutdown.
void CloseAllStreams(net::Error status);
+ // 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);
+
void LogAbandonedStream(const scoped_refptr<SpdyStream>& stream,
net::Error status);
« no previous file with comments | « no previous file | net/spdy/spdy_session.cc » ('j') | net/spdy/spdy_session.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698