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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 // 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 |
180 // written in big endian. | 180 // written in big endian. |
181 QUIC_FLAG(bool, | 181 QUIC_FLAG(bool, |
182 FLAGS_quic_restart_flag_quic_big_endian_connection_id_server, | 182 FLAGS_quic_restart_flag_quic_big_endian_connection_id_server, |
183 false) | 183 false) |
184 | 184 |
185 // Simplify QUIC\'s adaptive time loss detection to measure the necessary | 185 // Simplify QUIC\'s adaptive time loss detection to measure the necessary |
186 // reordering window for every spurious retransmit. | 186 // reordering window for every spurious retransmit. |
187 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_adaptive_time_loss, false) | 187 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_adaptive_time_loss, false) |
188 | 188 |
189 // In QUIC BBR, keep sending at the max bandwidth observed in the previous 2 | |
190 // RTTs for another SRTT. | |
191 QUIC_FLAG(bool, | |
192 FLAGS_quic_reloadable_flag_quic_bbr_keep_sending_at_recent_rate, | |
193 false) | |
194 | |
195 // Base CWND on SRTT instead of min_rtt for QUIC BBR. | 189 // Base CWND on SRTT instead of min_rtt for QUIC BBR. |
196 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_base_cwnd_on_srtt, false) | 190 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_base_cwnd_on_srtt, false) |
197 | 191 |
198 // If true, enable random padding of size [1, 256] when response body is | 192 // If true, enable random padding of size [1, 256] when response body is |
199 // compressed for QUIC version >= 38. | 193 // compressed for QUIC version >= 38. |
200 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_random_padding, false) | 194 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_random_padding, false) |
201 | 195 |
202 // Use conservation in PROBE_BW ouside of super-unity gain and immediately | 196 // Use conservation in PROBE_BW ouside of super-unity gain and immediately |
203 // preceeding cycle. | 197 // preceeding cycle. |
204 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_extra_conservation, false) | 198 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_extra_conservation, false) |
205 | 199 |
206 // Increase BBR's inflight limit if recent ack rate is low. | 200 // Increase BBR's inflight limit if recent ack rate is low. |
207 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_slow_recent_delivery, false) | 201 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_slow_recent_delivery, false) |
208 | 202 |
209 // Congestion window gain for QUIC BBR during slow delivery. | 203 // Congestion window gain for QUIC BBR during slow delivery. |
210 QUIC_FLAG(double, FLAGS_quic_bbr_slow_delivery_cwnd_gain, 4.0f) | 204 QUIC_FLAG(double, FLAGS_quic_bbr_slow_delivery_cwnd_gain, 4.0f) |
211 | 205 |
212 // Threshold multiplier below which delivery is considered slow. | 206 // Threshold multiplier below which delivery is considered slow. |
213 QUIC_FLAG(double, FLAGS_quic_bbr_slow_delivery_threshold_multiplier, 0.5f) | 207 QUIC_FLAG(double, FLAGS_quic_bbr_slow_delivery_threshold_multiplier, 0.5f) |
214 | 208 |
215 // If true, update state if trailing headers with a :final-offset key are | 209 // If true, update state if trailing headers with a :final-offset key are |
216 // received for a previously closed QUIC stream. | 210 // received for a previously closed QUIC stream. |
217 QUIC_FLAG(bool, | 211 QUIC_FLAG(bool, |
218 FLAGS_quic_reloadable_flag_quic_final_offset_from_trailers, | 212 FLAGS_quic_reloadable_flag_quic_final_offset_from_trailers, |
219 false) | 213 false) |
220 | 214 |
221 // Fix the algorithm used by packet conservation. | 215 // Fix the algorithm used by packet conservation. |
222 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_fix_conservation, false) | 216 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_fix_conservation, false) |
| 217 |
| 218 // If enabled, use refactored stream creation methods. |
| 219 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_refactor_stream_creation, false) |
| 220 |
| 221 // A second take on fixing QUIC BBR packet conservation. |
| 222 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_fix_conservation2, false) |
OLD | NEW |