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 |
189 // Base CWND on SRTT instead of min_rtt for QUIC BBR. | 195 // Base CWND on SRTT instead of min_rtt for QUIC BBR. |
190 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_base_cwnd_on_srtt, false) | 196 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_base_cwnd_on_srtt, false) |
191 | 197 |
192 // If true, enable random padding of size [1, 256] when response body is | 198 // If true, enable random padding of size [1, 256] when response body is |
193 // compressed for QUIC version >= 38. | 199 // compressed for QUIC version >= 38. |
194 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_random_padding, false) | 200 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_random_padding, false) |
195 | 201 |
196 // Use conservation in PROBE_BW ouside of super-unity gain and immediately | 202 // Use conservation in PROBE_BW ouside of super-unity gain and immediately |
197 // preceeding cycle. | 203 // preceeding cycle. |
198 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) |
199 | 205 |
200 // Increase BBR's inflight limit if recent ack rate is low. | 206 // Increase BBR's inflight limit if recent ack rate is low. |
201 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) |
202 | 208 |
203 // Congestion window gain for QUIC BBR during slow delivery. | 209 // Congestion window gain for QUIC BBR during slow delivery. |
204 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) |
205 | 211 |
206 // Threshold multiplier below which delivery is considered slow. | 212 // Threshold multiplier below which delivery is considered slow. |
207 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) |
208 | 214 |
209 // If true, update state if trailing headers with a :final-offset key are | 215 // If true, update state if trailing headers with a :final-offset key are |
210 // received for a previously closed QUIC stream. | 216 // received for a previously closed QUIC stream. |
211 QUIC_FLAG(bool, | 217 QUIC_FLAG(bool, |
212 FLAGS_quic_reloadable_flag_quic_final_offset_from_trailers, | 218 FLAGS_quic_reloadable_flag_quic_final_offset_from_trailers, |
213 false) | 219 false) |
214 | 220 |
215 // Fix the algorithm used by packet conservation. | 221 // Fix the algorithm used by packet conservation. |
216 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_fix_conservation, false) | 222 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 |