| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 // Allow QUIC's flow control autotuning to increase the window as | 168 // Allow QUIC's flow control autotuning to increase the window as |
| 169 // quickly for the first adjustment as in subsequent ones. | 169 // quickly for the first adjustment as in subsequent ones. |
| 170 QUIC_FLAG(bool, | 170 QUIC_FLAG(bool, |
| 171 FLAGS_quic_reloadable_flag_quic_flow_control_faster_autotune, | 171 FLAGS_quic_reloadable_flag_quic_flow_control_faster_autotune, |
| 172 false) | 172 false) |
| 173 | 173 |
| 174 // Only consider using the ack spacing in QUIC BBR if 2 packets are acked at | 174 // Only consider using the ack spacing in QUIC BBR if 2 packets are acked at |
| 175 // once. | 175 // once. |
| 176 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_ack_spacing2, false) | 176 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_ack_spacing2, false) |
| 177 | 177 |
| 178 // If true, 8-byte connection ID in public header is read and written in big | |
| 179 // endian. | |
| 180 QUIC_FLAG(bool, FLAGS_quic_restart_flag_quic_big_endian_connection_id, false) | |
| 181 | |
| 182 // If true, QUIC BBR stores a max filtered number of bytes delivered at a rate | 178 // If true, QUIC BBR stores a max filtered number of bytes delivered at a rate |
| 183 // faster than the sending rate. | 179 // faster than the sending rate. |
| 184 QUIC_FLAG(bool, | 180 QUIC_FLAG(bool, |
| 185 FLAGS_quic_reloadable_flag_quic_bbr_ack_aggregation_bytes, | 181 FLAGS_quic_reloadable_flag_quic_bbr_ack_aggregation_bytes, |
| 186 false) | 182 false) |
| 187 | 183 |
| 188 // If true, allow cubic updates on every ack, rather than occasionally limiting | 184 // If true, allow cubic updates on every ack, rather than occasionally limiting |
| 189 // the frequency to once every 30ms. | 185 // the frequency to once every 30ms. |
| 190 QUIC_FLAG(bool, | 186 QUIC_FLAG(bool, |
| 191 FLAGS_quic_reloadable_flag_quic_enable_cubic_per_ack_updates, | 187 FLAGS_quic_reloadable_flag_quic_enable_cubic_per_ack_updates, |
| 192 false) | 188 false) |
| 193 | 189 |
| 194 // Support bandwidth resumption in QUIC BBR. | 190 // Support bandwidth resumption in QUIC BBR. |
| 195 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_bandwidth_resumption, false) | 191 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_bandwidth_resumption, false) |
| 196 | 192 |
| 197 // Add the equivalent number of bytes as 3 TCP TSO segments to QUIC's BBR CWND. | 193 // Add the equivalent number of bytes as 3 TCP TSO segments to QUIC's BBR CWND. |
| 198 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_add_tso_cwnd, false) | 194 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_add_tso_cwnd, false) |
| 199 | 195 |
| 200 // Fix a crash that occurs when a client sends multiple CHLOs close together on | 196 // Fix a crash that occurs when a client sends multiple CHLOs close together on |
| 201 // the same connection. | 197 // the same connection. |
| 202 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_fix_quic_callback_crash, true) | 198 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_fix_quic_callback_crash, true) |
| 203 | 199 |
| 204 // If true, enable version 38 which supports new PADDING frame and respects NSTP | 200 // If true, enable version 38 which supports new PADDING frame and respects NSTP |
| 205 // connection option. | 201 // connection option. |
| 206 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_38, false) | 202 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_38, false) |
| 207 | 203 |
| 208 // If true, enable QUIC v39. | 204 // If true, enable QUIC v39. |
| 209 QUIC_FLAG(bool, FLAGS_quic_enable_version_39, false) | 205 QUIC_FLAG(bool, FLAGS_quic_enable_version_39, false) |
| 206 |
| 207 // If true, on client side, 8-byte connection ID in public header is read and |
| 208 // written in big endian. |
| 209 QUIC_FLAG(bool, |
| 210 FLAGS_quic_restart_flag_quic_big_endian_connection_id_client, |
| 211 false) |
| 212 |
| 213 // If true, on server side, 8-byte connection ID in public header is read and |
| 214 // written in big endian. |
| 215 QUIC_FLAG(bool, |
| 216 FLAGS_quic_restart_flag_quic_big_endian_connection_id_server, |
| 217 false) |
| OLD | NEW |