| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 | 92 |
| 93 // Enable QUIC force HOL blocking experiment. | 93 // Enable QUIC force HOL blocking experiment. |
| 94 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_force_hol_blocking, true) | 94 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_force_hol_blocking, true) |
| 95 | 95 |
| 96 // If true, allows packets to be buffered in anticipation of a future CHLO, and | 96 // If true, allows packets to be buffered in anticipation of a future CHLO, and |
| 97 // allow CHLO packets to be buffered until next iteration of the event loop. | 97 // allow CHLO packets to be buffered until next iteration of the event loop. |
| 98 QUIC_FLAG(bool, FLAGS_quic_allow_chlo_buffering, true) | 98 QUIC_FLAG(bool, FLAGS_quic_allow_chlo_buffering, true) |
| 99 | 99 |
| 100 // If true, fix some casts that were causing off-by-one errors in QUIC's cubic | 100 // If true, fix some casts that were causing off-by-one errors in QUIC's cubic |
| 101 // "convex" increases. | 101 // "convex" increases. |
| 102 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_cubic_convex_mode, false) | 102 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_cubic_convex_mode, true) |
| 103 | 103 |
| 104 // If true, GFE sends SETTINGS_MAX_HEADER_LIST_SIZE to the client at the | 104 // If true, GFE sends SETTINGS_MAX_HEADER_LIST_SIZE to the client at the |
| 105 // beginning of a connection. | 105 // beginning of a connection. |
| 106 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_send_max_header_list_size, true) | 106 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_send_max_header_list_size, true) |
| 107 | 107 |
| 108 // If true, fix quantization of CubicBytes while performing convex increases. | 108 // If true, fix quantization of CubicBytes while performing convex increases. |
| 109 QUIC_FLAG(bool, | 109 QUIC_FLAG(bool, |
| 110 FLAGS_quic_reloadable_flag_quic_fix_cubic_bytes_quantization, | 110 FLAGS_quic_reloadable_flag_quic_fix_cubic_bytes_quantization, |
| 111 false) | 111 true) |
| 112 | 112 |
| 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, true) |
| 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, allows the 1RTT and 2RTT connection options to reduce the time | |
| 124 // in BBR STARTUP to 1 or 2 RTTs with no bandwidth increase from 3. | |
| 125 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_allow_2_rtt_bbr_startup, true) | |
| 126 | |
| 127 // If true, do not send or process stop waiting frames in QUIC if the NSTP | 123 // If true, do not send or process stop waiting frames in QUIC if the NSTP |
| 128 // connection option is provided. | 124 // connection option is provided. |
| 129 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_no_stop_waiting_frames, false) | 125 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_no_stop_waiting_frames, false) |
| 130 | 126 |
| 131 // Allows one self address change. | 127 // Allows one self address change. |
| 132 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_allow_one_address_change, false) | 128 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_allow_one_address_change, false) |
| 133 | 129 |
| 134 // If true, multipath bit is not used in public flag. | 130 // If true, multipath bit is not used in public flag. |
| 135 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_remove_multipath_bit, true) | 131 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_remove_multipath_bit, true) |
| 136 | 132 |
| 137 // Allow QUIC's flow control autotuning to increase the window as | 133 // Allow QUIC's flow control autotuning to increase the window as |
| 138 // quickly for the first adjustment as in subsequent ones. | 134 // quickly for the first adjustment as in subsequent ones. |
| 139 QUIC_FLAG(bool, | 135 QUIC_FLAG(bool, |
| 140 FLAGS_quic_reloadable_flag_quic_flow_control_faster_autotune, | 136 FLAGS_quic_reloadable_flag_quic_flow_control_faster_autotune, |
| 141 true) | 137 true) |
| 142 | 138 |
| 143 // If true, QUIC BBR stores a max filtered number of bytes delivered at a rate | 139 // If true, QUIC BBR stores a max filtered number of bytes delivered at a rate |
| 144 // faster than the sending rate. | 140 // faster than the sending rate. |
| 145 QUIC_FLAG(bool, | 141 QUIC_FLAG(bool, |
| 146 FLAGS_quic_reloadable_flag_quic_bbr_ack_aggregation_bytes, | 142 FLAGS_quic_reloadable_flag_quic_bbr_ack_aggregation_bytes, |
| 147 false) | 143 false) |
| 148 | 144 |
| 149 // If true, allow cubic updates on every ack, rather than occasionally limiting | 145 // If true, allow cubic updates on every ack, rather than occasionally limiting |
| 150 // the frequency to once every 30ms. | 146 // the frequency to once every 30ms. |
| 151 QUIC_FLAG(bool, | 147 QUIC_FLAG(bool, |
| 152 FLAGS_quic_reloadable_flag_quic_enable_cubic_per_ack_updates, | 148 FLAGS_quic_reloadable_flag_quic_enable_cubic_per_ack_updates, |
| 153 false) | 149 true) |
| 154 | 150 |
| 155 // Support bandwidth resumption in QUIC BBR. | 151 // Support bandwidth resumption in QUIC BBR. |
| 156 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_bandwidth_resumption, false) | 152 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_bandwidth_resumption, false) |
| 157 | 153 |
| 158 // Add the equivalent number of bytes as 3 TCP TSO segments to QUIC's BBR CWND. | 154 // Add the equivalent number of bytes as 3 TCP TSO segments to QUIC's BBR CWND. |
| 159 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_add_tso_cwnd, false) | 155 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_add_tso_cwnd, false) |
| 160 | 156 |
| 161 // If true, enable version 38 which supports new PADDING frame and respects NSTP | 157 // If true, enable version 38 which supports new PADDING frame and respects NSTP |
| 162 // connection option. | 158 // connection option. |
| 163 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_38, true) | 159 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_38, true) |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 | 221 |
| 226 // Allows the 3RTO QUIC connection option to close a QUIC connection after | 222 // Allows the 3RTO QUIC connection option to close a QUIC connection after |
| 227 // 3RTOs if there are no open streams. | 223 // 3RTOs if there are no open streams. |
| 228 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_3rtos, false) | 224 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_3rtos, false) |
| 229 | 225 |
| 230 // If true, enable experiment for testing PCC congestion-control. | 226 // If true, enable experiment for testing PCC congestion-control. |
| 231 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_pcc, false) | 227 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_pcc, false) |
| 232 | 228 |
| 233 // If true, enable QUIC v40. | 229 // If true, enable QUIC v40. |
| 234 QUIC_FLAG(bool, FLAGS_quic_enable_version_40, false) | 230 QUIC_FLAG(bool, FLAGS_quic_enable_version_40, false) |
| OLD | NEW |