OLD | NEW |
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_CORE_SPDY_FRAMER_H_ | 5 #ifndef NET_SPDY_CORE_SPDY_FRAMER_H_ |
6 #define NET_SPDY_CORE_SPDY_FRAMER_H_ | 6 #define NET_SPDY_CORE_SPDY_FRAMER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
972 | 972 |
973 // If a HEADERS frame is followed by a CONTINUATION frame, the FIN/END_STREAM | 973 // If a HEADERS frame is followed by a CONTINUATION frame, the FIN/END_STREAM |
974 // flag is still carried in the HEADERS frame. If it's set, flip this so that | 974 // flag is still carried in the HEADERS frame. If it's set, flip this so that |
975 // we know to terminate the stream when the entire header block has been | 975 // we know to terminate the stream when the entire header block has been |
976 // processed. | 976 // processed. |
977 bool end_stream_when_done_; | 977 bool end_stream_when_done_; |
978 | 978 |
979 // If true, then ProcessInput returns after processing a full frame, | 979 // If true, then ProcessInput returns after processing a full frame, |
980 // rather than reading all available input. | 980 // rather than reading all available input. |
981 bool process_single_input_frame_ = false; | 981 bool process_single_input_frame_ = false; |
982 | |
983 // Latched value of FLAGS_chromium_http2_flag_remove_rewritelength. | |
984 bool skip_rewritelength_ = false; | |
985 }; | 982 }; |
986 | 983 |
987 } // namespace net | 984 } // namespace net |
988 | 985 |
989 #endif // NET_SPDY_CORE_SPDY_FRAMER_H_ | 986 #endif // NET_SPDY_CORE_SPDY_FRAMER_H_ |
OLD | NEW |