OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // This file intentionally does not have header guards, it's included | 5 // This file intentionally does not have header guards, it's included |
6 // inside a macro to generate values. | 6 // inside a macro to generate values. |
7 | 7 |
8 // This file contains the list of QUIC protocol flags. | 8 // This file contains the list of QUIC protocol flags. |
9 | 9 |
10 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC | 10 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 FLAGS_quic_reloadable_flag_quic_release_crypto_stream_buffer, | 79 FLAGS_quic_reloadable_flag_quic_release_crypto_stream_buffer, |
80 true) | 80 true) |
81 | 81 |
82 // If true, do not override a connection in global map if exists. Only create | 82 // If true, do not override a connection in global map if exists. Only create |
83 // QUIC session if it is successfully inserted to the global map. Toss the | 83 // QUIC session if it is successfully inserted to the global map. Toss the |
84 // packet if insertion fails. | 84 // packet if insertion fails. |
85 QUIC_FLAG(bool, | 85 QUIC_FLAG(bool, |
86 FLAGS_quic_reloadable_flag_quic_create_session_after_insertion, | 86 FLAGS_quic_reloadable_flag_quic_create_session_after_insertion, |
87 false) | 87 false) |
88 | 88 |
89 // If true, rejected packet number is removed from public reset packet. | |
90 QUIC_FLAG( | |
91 bool, | |
92 FLAGS_quic_reloadable_flag_quic_remove_packet_number_from_public_reset, | |
93 true) | |
94 | |
95 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in | 89 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in |
96 // public flag. | 90 // public flag. |
97 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_remove_v33_hacks2, false) | 91 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_remove_v33_hacks2, false) |
98 | 92 |
99 // Enable QUIC force HOL blocking experiment. | 93 // Enable QUIC force HOL blocking experiment. |
100 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_force_hol_blocking, true) | 94 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_force_hol_blocking, true) |
101 | 95 |
102 // If true, allows packets to be buffered in anticipation of a future CHLO, and | 96 // If true, allows packets to be buffered in anticipation of a future CHLO, and |
103 // allow CHLO packets to be buffered until next iteration of the event loop. | 97 // allow CHLO packets to be buffered until next iteration of the event loop. |
104 QUIC_FLAG(bool, FLAGS_quic_allow_chlo_buffering, true) | 98 QUIC_FLAG(bool, FLAGS_quic_allow_chlo_buffering, true) |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_allow_2_rtt_bbr_startup, true) | 130 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_allow_2_rtt_bbr_startup, true) |
137 | 131 |
138 // If true, do not send or process stop waiting frames in QUIC if the NSTP | 132 // If true, do not send or process stop waiting frames in QUIC if the NSTP |
139 // connection option is provided. | 133 // connection option is provided. |
140 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_no_stop_waiting_frames, false) | 134 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_no_stop_waiting_frames, false) |
141 | 135 |
142 // Allows one self address change. | 136 // Allows one self address change. |
143 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_allow_one_address_change, false) | 137 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_allow_one_address_change, false) |
144 | 138 |
145 // If true, multipath bit is not used in public flag. | 139 // If true, multipath bit is not used in public flag. |
146 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_remove_multipath_bit, false) | 140 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_remove_multipath_bit, true) |
147 | 141 |
148 // Allow QUIC's flow control autotuning to increase the window as | 142 // Allow QUIC's flow control autotuning to increase the window as |
149 // quickly for the first adjustment as in subsequent ones. | 143 // quickly for the first adjustment as in subsequent ones. |
150 QUIC_FLAG(bool, | 144 QUIC_FLAG(bool, |
151 FLAGS_quic_reloadable_flag_quic_flow_control_faster_autotune, | 145 FLAGS_quic_reloadable_flag_quic_flow_control_faster_autotune, |
152 true) | 146 true) |
153 | 147 |
154 // If true, QUIC BBR stores a max filtered number of bytes delivered at a rate | 148 // If true, QUIC BBR stores a max filtered number of bytes delivered at a rate |
155 // faster than the sending rate. | 149 // faster than the sending rate. |
156 QUIC_FLAG(bool, | 150 QUIC_FLAG(bool, |
(...skipping 10 matching lines...) Expand all Loading... |
167 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_bandwidth_resumption, false) | 161 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_bandwidth_resumption, false) |
168 | 162 |
169 // Add the equivalent number of bytes as 3 TCP TSO segments to QUIC's BBR CWND. | 163 // Add the equivalent number of bytes as 3 TCP TSO segments to QUIC's BBR CWND. |
170 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_add_tso_cwnd, false) | 164 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_add_tso_cwnd, false) |
171 | 165 |
172 // If true, enable version 38 which supports new PADDING frame and respects NSTP | 166 // If true, enable version 38 which supports new PADDING frame and respects NSTP |
173 // connection option. | 167 // connection option. |
174 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_38, true) | 168 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_38, true) |
175 | 169 |
176 // If true, enable QUIC v39. | 170 // If true, enable QUIC v39. |
177 QUIC_FLAG(bool, FLAGS_quic_enable_version_39, false) | 171 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_39, false) |
178 | 172 |
179 // If true, on client side, 8-byte connection ID in public header is read and | 173 // If true, on client side, 8-byte connection ID in public header is read and |
180 // written in big endian. | 174 // written in big endian. |
181 QUIC_FLAG(bool, | 175 QUIC_FLAG(bool, |
182 FLAGS_quic_restart_flag_quic_big_endian_connection_id_client, | 176 FLAGS_quic_restart_flag_quic_big_endian_connection_id_client, |
183 false) | 177 false) |
184 | 178 |
185 // If true, on server side, 8-byte connection ID in public header is read and | 179 // If true, on server side, 8-byte connection ID in public header is read and |
186 // written in big endian. | 180 // written in big endian. |
187 QUIC_FLAG(bool, | 181 QUIC_FLAG(bool, |
(...skipping 22 matching lines...) Expand all Loading... |
210 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_extra_conservation, false) | 204 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_extra_conservation, false) |
211 | 205 |
212 // Increase BBR's inflight limit if recent ack rate is low. | 206 // Increase BBR's inflight limit if recent ack rate is low. |
213 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_slow_recent_delivery, false) | 207 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_slow_recent_delivery, false) |
214 | 208 |
215 // Congestion window gain for QUIC BBR during slow delivery. | 209 // Congestion window gain for QUIC BBR during slow delivery. |
216 QUIC_FLAG(double, FLAGS_quic_bbr_slow_delivery_cwnd_gain, 4.0f) | 210 QUIC_FLAG(double, FLAGS_quic_bbr_slow_delivery_cwnd_gain, 4.0f) |
217 | 211 |
218 // Threshold multiplier below which delivery is considered slow. | 212 // Threshold multiplier below which delivery is considered slow. |
219 QUIC_FLAG(double, FLAGS_quic_bbr_slow_delivery_threshold_multiplier, 0.5f) | 213 QUIC_FLAG(double, FLAGS_quic_bbr_slow_delivery_threshold_multiplier, 0.5f) |
| 214 |
| 215 // If true, update state if trailing headers with a :final-offset key are |
| 216 // received for a previously closed QUIC stream. |
| 217 QUIC_FLAG(bool, |
| 218 FLAGS_quic_reloadable_flag_quic_final_offset_from_trailers, |
| 219 false) |
| 220 |
| 221 // Fix the algorithm used by packet conservation. |
| 222 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_fix_conservation, false) |
OLD | NEW |