| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 FLAGS_quic_reloadable_flag_quic_release_crypto_stream_buffer, | 79 FLAGS_quic_reloadable_flag_quic_release_crypto_stream_buffer, |
| 80 true) | 80 true) |
| 81 | 81 |
| 82 // If true, do not override a connection in global map if exists. Only create | 82 // If true, do not override a connection in global map if exists. Only create |
| 83 // QUIC session if it is successfully inserted to the global map. Toss the | 83 // QUIC session if it is successfully inserted to the global map. Toss the |
| 84 // packet if insertion fails. | 84 // packet if insertion fails. |
| 85 QUIC_FLAG(bool, | 85 QUIC_FLAG(bool, |
| 86 FLAGS_quic_reloadable_flag_quic_create_session_after_insertion, | 86 FLAGS_quic_reloadable_flag_quic_create_session_after_insertion, |
| 87 false) | 87 false) |
| 88 | 88 |
| 89 // If true, rejected packet number is removed from public reset packet. | |
| 90 QUIC_FLAG( | |
| 91 bool, | |
| 92 FLAGS_quic_reloadable_flag_quic_remove_packet_number_from_public_reset, | |
| 93 true) | |
| 94 | |
| 95 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in | 89 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in |
| 96 // public flag. | 90 // public flag. |
| 97 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_remove_v33_hacks2, false) | 91 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_remove_v33_hacks2, false) |
| 98 | 92 |
| 99 // Enable QUIC force HOL blocking experiment. | 93 // Enable QUIC force HOL blocking experiment. |
| 100 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) |
| 101 | 95 |
| 102 // 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 |
| 103 // 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. |
| 104 QUIC_FLAG(bool, FLAGS_quic_allow_chlo_buffering, true) | 98 QUIC_FLAG(bool, FLAGS_quic_allow_chlo_buffering, true) |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_extra_conservation, false) | 204 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_extra_conservation, false) |
| 211 | 205 |
| 212 // Increase BBR's inflight limit if recent ack rate is low. | 206 // Increase BBR's inflight limit if recent ack rate is low. |
| 213 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_slow_recent_delivery, false) | 207 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_slow_recent_delivery, false) |
| 214 | 208 |
| 215 // Congestion window gain for QUIC BBR during slow delivery. | 209 // Congestion window gain for QUIC BBR during slow delivery. |
| 216 QUIC_FLAG(double, FLAGS_quic_bbr_slow_delivery_cwnd_gain, 4.0f) | 210 QUIC_FLAG(double, FLAGS_quic_bbr_slow_delivery_cwnd_gain, 4.0f) |
| 217 | 211 |
| 218 // Threshold multiplier below which delivery is considered slow. | 212 // Threshold multiplier below which delivery is considered slow. |
| 219 QUIC_FLAG(double, FLAGS_quic_bbr_slow_delivery_threshold_multiplier, 0.5f) | 213 QUIC_FLAG(double, FLAGS_quic_bbr_slow_delivery_threshold_multiplier, 0.5f) |
| OLD | NEW |