| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 QUIC_FLAG(bool, | 118 QUIC_FLAG(bool, |
| 119 FLAGS_quic_reloadable_flag_quic_fix_cubic_bytes_quantization, | 119 FLAGS_quic_reloadable_flag_quic_fix_cubic_bytes_quantization, |
| 120 false) | 120 false) |
| 121 | 121 |
| 122 // If true, fix Cubic\'s use of kBetaLastMax for n-connection emulation. | 122 // If true, fix Cubic\'s use of kBetaLastMax for n-connection emulation. |
| 123 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_beta_last_max, false) | 123 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_beta_last_max, false) |
| 124 | 124 |
| 125 // If true, enable QUIC v37. | 125 // If true, enable QUIC v37. |
| 126 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_37, true) | 126 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_37, true) |
| 127 | 127 |
| 128 // If true, disables QUIC v34. | |
| 129 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_disable_version_34, true) | |
| 130 | |
| 131 // If greater than zero, mean RTT variation is multiplied by the specified | 128 // If greater than zero, mean RTT variation is multiplied by the specified |
| 132 // factor and added to the congestion window limit. | 129 // factor and added to the congestion window limit. |
| 133 QUIC_FLAG(double, FLAGS_quic_bbr_rtt_variation_weight, 0.0f) | 130 QUIC_FLAG(double, FLAGS_quic_bbr_rtt_variation_weight, 0.0f) |
| 134 | 131 |
| 135 // Congestion window gain for QUIC BBR during PROBE_BW phase. | 132 // Congestion window gain for QUIC BBR during PROBE_BW phase. |
| 136 QUIC_FLAG(double, FLAGS_quic_bbr_cwnd_gain, 2.0f) | 133 QUIC_FLAG(double, FLAGS_quic_bbr_cwnd_gain, 2.0f) |
| 137 | 134 |
| 138 // If true, bidi streaming is always enabled in QUIC. | 135 // If true, bidi streaming is always enabled in QUIC. |
| 139 QUIC_FLAG(bool, | 136 QUIC_FLAG(bool, |
| 140 FLAGS_quic_reloadable_flag_quic_always_enable_bidi_streaming, | 137 FLAGS_quic_reloadable_flag_quic_always_enable_bidi_streaming, |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_adaptive_time_loss, false) | 203 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_adaptive_time_loss, false) |
| 207 | 204 |
| 208 // In QUIC BBR, keep sending at the max bandwidth observed in the previous 2 | 205 // In QUIC BBR, keep sending at the max bandwidth observed in the previous 2 |
| 209 // RTTs for another SRTT. | 206 // RTTs for another SRTT. |
| 210 QUIC_FLAG(bool, | 207 QUIC_FLAG(bool, |
| 211 FLAGS_quic_reloadable_flag_quic_bbr_keep_sending_at_recent_rate, | 208 FLAGS_quic_reloadable_flag_quic_bbr_keep_sending_at_recent_rate, |
| 212 false) | 209 false) |
| 213 | 210 |
| 214 // Base CWND on SRTT instead of min_rtt for QUIC BBR. | 211 // Base CWND on SRTT instead of min_rtt for QUIC BBR. |
| 215 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_base_cwnd_on_srtt, false) | 212 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_base_cwnd_on_srtt, false) |
| OLD | NEW |