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

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') | no next file with comments »
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..5560847b0c1be719d18c453f8d18c05112791495 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -608,7 +608,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,
« no previous file with comments | « no previous file | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698