| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 // connection option. | 149 // connection option. |
| 150 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_38, true) | 150 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_38, true) |
| 151 | 151 |
| 152 // If true, enable QUIC v39. | 152 // If true, enable QUIC v39. |
| 153 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_39, true) | 153 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_39, true) |
| 154 | 154 |
| 155 // If true, on client side, 8-byte connection ID in public header is read and | 155 // If true, on client side, 8-byte connection ID in public header is read and |
| 156 // written in big endian. | 156 // written in big endian. |
| 157 QUIC_FLAG(bool, | 157 QUIC_FLAG(bool, |
| 158 FLAGS_quic_restart_flag_quic_big_endian_connection_id_client, | 158 FLAGS_quic_restart_flag_quic_big_endian_connection_id_client, |
| 159 false) | 159 true) |
| 160 | 160 |
| 161 // If true, on server side, 8-byte connection ID in public header is read and | 161 // If true, on server side, 8-byte connection ID in public header is read and |
| 162 // written in big endian. | 162 // written in big endian. |
| 163 QUIC_FLAG(bool, | 163 QUIC_FLAG(bool, |
| 164 FLAGS_quic_restart_flag_quic_big_endian_connection_id_server, | 164 FLAGS_quic_restart_flag_quic_big_endian_connection_id_server, |
| 165 true) | 165 true) |
| 166 | 166 |
| 167 // Simplify QUIC\'s adaptive time loss detection to measure the necessary | 167 // Simplify QUIC\'s adaptive time loss detection to measure the necessary |
| 168 // reordering window for every spurious retransmit. | 168 // reordering window for every spurious retransmit. |
| 169 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_adaptive_time_loss, false) | 169 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_adaptive_time_loss, false) |
| 170 | 170 |
| 171 // If true, enable random padding of size [1, 256] when response body is | 171 // If true, enable random padding of size [1, 256] when response body is |
| 172 // compressed for QUIC version >= 38. | 172 // compressed for QUIC version >= 38. |
| 173 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_random_padding, false) | 173 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_random_padding, true) |
| 174 | 174 |
| 175 // Use conservation in PROBE_BW ouside of super-unity gain and immediately | 175 // Use conservation in PROBE_BW ouside of super-unity gain and immediately |
| 176 // preceeding cycle. | 176 // preceeding cycle. |
| 177 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_extra_conservation, false) | 177 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_extra_conservation, false) |
| 178 | 178 |
| 179 // Increase BBR's inflight limit if recent ack rate is low. | 179 // Increase BBR's inflight limit if recent ack rate is low. |
| 180 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_slow_recent_delivery, false) | 180 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_slow_recent_delivery, false) |
| 181 | 181 |
| 182 // Congestion window gain for QUIC BBR during slow delivery. | 182 // Congestion window gain for QUIC BBR during slow delivery. |
| 183 QUIC_FLAG(double, FLAGS_quic_bbr_slow_delivery_cwnd_gain, 4.0f) | 183 QUIC_FLAG(double, FLAGS_quic_bbr_slow_delivery_cwnd_gain, 4.0f) |
| (...skipping 28 matching lines...) Expand all Loading... |
| 212 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_3rtos, false) | 212 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_3rtos, false) |
| 213 | 213 |
| 214 // If true, enable experiment for testing PCC congestion-control. | 214 // If true, enable experiment for testing PCC congestion-control. |
| 215 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_pcc, false) | 215 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_pcc, false) |
| 216 | 216 |
| 217 // If true, enable QUIC v40. | 217 // If true, enable QUIC v40. |
| 218 QUIC_FLAG(bool, FLAGS_quic_enable_version_40, false) | 218 QUIC_FLAG(bool, FLAGS_quic_enable_version_40, false) |
| 219 | 219 |
| 220 // If true, use the more CPU efficient bandwidth sampler datastructure. | 220 // If true, use the more CPU efficient bandwidth sampler datastructure. |
| 221 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_faster_bandwidth_sampler, false) | 221 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_faster_bandwidth_sampler, false) |
| 222 |
| 223 // In QUIC, notify StreamNotifier instead of per-packet AckNotifier on |
| 224 // every ack or retransmitted. |
| 225 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_use_stream_notifier, false) |
| 226 |
| 227 // When true, defaults to BBR congestion control instead of Cubic. |
| 228 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_default_to_bbr, false) |
| OLD | NEW |