| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 // If true, fix Cubic\'s use of kBetaLastMax for n-connection emulation. | 113 // If true, fix Cubic\'s use of kBetaLastMax for n-connection emulation. |
| 114 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_beta_last_max, false) | 114 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_beta_last_max, false) |
| 115 | 115 |
| 116 // If greater than zero, mean RTT variation is multiplied by the specified | 116 // If greater than zero, mean RTT variation is multiplied by the specified |
| 117 // factor and added to the congestion window limit. | 117 // factor and added to the congestion window limit. |
| 118 QUIC_FLAG(double, FLAGS_quic_bbr_rtt_variation_weight, 0.0f) | 118 QUIC_FLAG(double, FLAGS_quic_bbr_rtt_variation_weight, 0.0f) |
| 119 | 119 |
| 120 // Congestion window gain for QUIC BBR during PROBE_BW phase. | 120 // Congestion window gain for QUIC BBR during PROBE_BW phase. |
| 121 QUIC_FLAG(double, FLAGS_quic_bbr_cwnd_gain, 2.0f) | 121 QUIC_FLAG(double, FLAGS_quic_bbr_cwnd_gain, 2.0f) |
| 122 | 122 |
| 123 // If true, bidi streaming is always enabled in QUIC. | |
| 124 QUIC_FLAG(bool, | |
| 125 FLAGS_quic_reloadable_flag_quic_always_enable_bidi_streaming, | |
| 126 true) | |
| 127 | |
| 128 // If true, allows the 1RTT and 2RTT connection options to reduce the time | 123 // If true, allows the 1RTT and 2RTT connection options to reduce the time |
| 129 // in BBR STARTUP to 1 or 2 RTTs with no bandwidth increase from 3. | 124 // in BBR STARTUP to 1 or 2 RTTs with no bandwidth increase from 3. |
| 130 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_allow_2_rtt_bbr_startup, true) | 125 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_allow_2_rtt_bbr_startup, true) |
| 131 | 126 |
| 132 // If true, do not send or process stop waiting frames in QUIC if the NSTP | 127 // If true, do not send or process stop waiting frames in QUIC if the NSTP |
| 133 // connection option is provided. | 128 // connection option is provided. |
| 134 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_no_stop_waiting_frames, false) | 129 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_no_stop_waiting_frames, false) |
| 135 | 130 |
| 136 // Allows one self address change. | 131 // Allows one self address change. |
| 137 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_allow_one_address_change, false) | 132 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_allow_one_address_change, false) |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 // If true, export a varz mapping QUIC non 0-rtt handshake with corresponding | 222 // If true, export a varz mapping QUIC non 0-rtt handshake with corresponding |
| 228 // frontend service. | 223 // frontend service. |
| 229 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_account_handshake, false) | 224 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_account_handshake, false) |
| 230 | 225 |
| 231 // Allows the 3RTO QUIC connection option to close a QUIC connection after | 226 // Allows the 3RTO QUIC connection option to close a QUIC connection after |
| 232 // 3RTOs if there are no open streams. | 227 // 3RTOs if there are no open streams. |
| 233 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_3rtos, false) | 228 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_3rtos, false) |
| 234 | 229 |
| 235 // If true, enable experiment for testing PCC congestion-control. | 230 // If true, enable experiment for testing PCC congestion-control. |
| 236 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_pcc, false) | 231 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_pcc, false) |
| OLD | NEW |