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

Unified Diff: net/spdy/spdy_write_queue.h

Issue 14232014: Correctly handle SPDY GOAWAY frames. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: net/spdy/spdy_write_queue.h
diff --git a/net/spdy/spdy_write_queue.h b/net/spdy/spdy_write_queue.h
index 1b8f1b810144aa8292e35b2e0eaaf4f9371e0e96..11590d7499e18f7d299cd02e90327d5c5e7ad8be 100644
--- a/net/spdy/spdy_write_queue.h
+++ b/net/spdy/spdy_write_queue.h
@@ -51,6 +51,9 @@ class NET_EXPORT_PRIVATE SpdyWriteQueue {
// Removes all pending writes.
void Clear();
+ // Removes all pending writes for streams after |last_good_stream_id|.
+ void ClearAfter(SpdyStreamId last_good_stream_id);
+
private:
// A struct holding a frame producer and its associated stream.
struct PendingWrite {

Powered by Google App Engine
This is Rietveld 408576698