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

Side by Side Diff: net/spdy/spdy_framer.h

Issue 1777163003: OnStreamEnd is now called instead of the sentinel call of OnStreamFrameData(stream_id, nullptr, 0, … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@116266391
Patch Set: Merge spdy_framer_test.cc Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_SPDY_SPDY_FRAMER_H_ 5 #ifndef NET_SPDY_SPDY_FRAMER_H_
6 #define NET_SPDY_SPDY_FRAMER_H_ 6 #define NET_SPDY_SPDY_FRAMER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 793
794 // If a HEADERS frame is followed by a CONTINUATION frame, the FIN/END_STREAM 794 // If a HEADERS frame is followed by a CONTINUATION frame, the FIN/END_STREAM
795 // flag is still carried in the HEADERS frame. If it's set, flip this so that 795 // flag is still carried in the HEADERS frame. If it's set, flip this so that
796 // we know to terminate the stream when the entire header block has been 796 // we know to terminate the stream when the entire header block has been
797 // processed. 797 // processed.
798 bool end_stream_when_done_; 798 bool end_stream_when_done_;
799 799
800 // If true, then ProcessInput returns after processing a full frame, 800 // If true, then ProcessInput returns after processing a full frame,
801 // rather than reading all available input. 801 // rather than reading all available input.
802 bool process_single_input_frame_ = false; 802 bool process_single_input_frame_ = false;
803
804 // Latched value of --FLAGS_spdy_on_stream_end.
805 // If true, OnStreamEnd will be called instead of the sentinel call of
806 // OnStreamFrameData(stream_id, nullptr, 0, true)
807 bool spdy_on_stream_end_;
803 }; 808 };
804 809
805 } // namespace net 810 } // namespace net
806 811
807 #endif // NET_SPDY_SPDY_FRAMER_H_ 812 #endif // NET_SPDY_SPDY_FRAMER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698