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

Unified Diff: net/spdy/spdy_session.h

Issue 511283005: Go away on odd push and already seen push stream ids (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Go away on odd push and already seen push stream ids Created 6 years, 3 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_session.h
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h
index 28a1e147eac04a690e3735c37111db02f599c3ed..519d07bc58f55d06bfda27da62371ebe09c72830 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -984,6 +984,9 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface,
SpdyStreamId stream_hi_water_mark_; // The next stream id to use.
+ // Used to ensure the server increments push stream ids correctly.
+ SpdyStreamId last_accepted_push_stream_id_;
+
// Queue, for each priority, of pending stream requests that have
// not yet been satisfied.
PendingStreamRequestQueue pending_create_stream_queues_[NUM_PRIORITIES];

Powered by Google App Engine
This is Rietveld 408576698