| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 125 |
| 126 // If true, fix Cubic\'s use of kBetaLastMax for n-connection emulation. | 126 // If true, fix Cubic\'s use of kBetaLastMax for n-connection emulation. |
| 127 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_beta_last_max, false) | 127 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_beta_last_max, false) |
| 128 | 128 |
| 129 // If true, enable QUIC v37. | 129 // If true, enable QUIC v37. |
| 130 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_37, true) | 130 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_37, true) |
| 131 | 131 |
| 132 // If true, disables QUIC v34. | 132 // If true, disables QUIC v34. |
| 133 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_disable_version_34, true) | 133 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_disable_version_34, true) |
| 134 | 134 |
| 135 // If true, enable quic version 38 | |
| 136 QUIC_FLAG(bool, FLAGS_quic_enable_version_38, false) | |
| 137 | |
| 138 // When true, ensures the session's flow control window is always at least 1.5x | 135 // When true, ensures the session's flow control window is always at least 1.5x |
| 139 // larger than the largest stream flow control window. | 136 // larger than the largest stream flow control window. |
| 140 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_flow_control_invariant, true) | 137 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_flow_control_invariant, true) |
| 141 | 138 |
| 142 // If greater than zero, mean RTT variation is multiplied by the specified | 139 // If greater than zero, mean RTT variation is multiplied by the specified |
| 143 // factor and added to the congestion window limit. | 140 // factor and added to the congestion window limit. |
| 144 QUIC_FLAG(double, FLAGS_quic_bbr_rtt_variation_weight, 0.0f) | 141 QUIC_FLAG(double, FLAGS_quic_bbr_rtt_variation_weight, 0.0f) |
| 145 | 142 |
| 146 // Congestion window gain for QUIC BBR during PROBE_BW phase. | 143 // Congestion window gain for QUIC BBR during PROBE_BW phase. |
| 147 QUIC_FLAG(double, FLAGS_quic_bbr_cwnd_gain, 2.0f) | 144 QUIC_FLAG(double, FLAGS_quic_bbr_cwnd_gain, 2.0f) |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 | 193 |
| 197 // Support bandwidth resumption in QUIC BBR. | 194 // Support bandwidth resumption in QUIC BBR. |
| 198 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_bandwidth_resumption, false) | 195 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_bandwidth_resumption, false) |
| 199 | 196 |
| 200 // Add the equivalent number of bytes as 3 TCP TSO segments to QUIC's BBR CWND. | 197 // Add the equivalent number of bytes as 3 TCP TSO segments to QUIC's BBR CWND. |
| 201 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_add_tso_cwnd, false) | 198 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_add_tso_cwnd, false) |
| 202 | 199 |
| 203 // Fix a crash that occurs when a client sends multiple CHLOs close together on | 200 // Fix a crash that occurs when a client sends multiple CHLOs close together on |
| 204 // the same connection. | 201 // the same connection. |
| 205 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_fix_quic_callback_crash, true) | 202 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_fix_quic_callback_crash, true) |
| 203 |
| 204 // If true, enable version 38 which supports new PADDING frame and respects NSTP |
| 205 // connection option. |
| 206 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_38, false) |
| OLD | NEW |