| 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 #include "net/quic/quic_flags.h" | 5 #include "net/quic/quic_flags.h" |
| 6 | 6 |
| 7 // When true, the use time based loss detection instead of nack. | 7 // When true, the use time based loss detection instead of nack. |
| 8 bool FLAGS_quic_use_time_loss_detection = false; | 8 bool FLAGS_quic_use_time_loss_detection = false; |
| 9 | 9 |
| 10 // If true, it will return as soon as an error is detected while validating | 10 // If true, it will return as soon as an error is detected while validating |
| 11 // CHLO. | 11 // CHLO. |
| 12 bool FLAGS_use_early_return_when_verifying_chlo = true; | 12 bool FLAGS_use_early_return_when_verifying_chlo = true; |
| 13 | 13 |
| 14 // If true, QUIC connections will support FEC protection of data while sending | |
| 15 // packets, to reduce latency of data delivery to the application. The client | |
| 16 // must also request FEC protection for the server to use FEC. | |
| 17 bool FLAGS_enable_quic_fec = true; | |
| 18 | |
| 19 // When true, defaults to BBR congestion control instead of Cubic. | 14 // When true, defaults to BBR congestion control instead of Cubic. |
| 20 bool FLAGS_quic_use_bbr_congestion_control = false; | 15 bool FLAGS_quic_use_bbr_congestion_control = false; |
| 21 | 16 |
| 22 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC | 17 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC |
| 23 // connection options. | 18 // connection options. |
| 24 bool FLAGS_quic_allow_bbr = false; | 19 bool FLAGS_quic_allow_bbr = false; |
| 25 | 20 |
| 26 // Time period for which a given connection_id should live in the time-wait | 21 // Time period for which a given connection_id should live in the time-wait |
| 27 // state. | 22 // state. |
| 28 int64_t FLAGS_quic_time_wait_list_seconds = 200; | 23 int64_t FLAGS_quic_time_wait_list_seconds = 200; |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 // If true, QUIC will use newly refactored TCP sender code. | 138 // If true, QUIC will use newly refactored TCP sender code. |
| 144 bool FLAGS_quic_use_new_tcp_sender = true; | 139 bool FLAGS_quic_use_new_tcp_sender = true; |
| 145 | 140 |
| 146 // Saves the initial subkey secret in QUIC crypto when deriving keys from the | 141 // Saves the initial subkey secret in QUIC crypto when deriving keys from the |
| 147 // initial premaster secret. | 142 // initial premaster secret. |
| 148 bool FLAGS_quic_save_initial_subkey_secret = true; | 143 bool FLAGS_quic_save_initial_subkey_secret = true; |
| 149 | 144 |
| 150 // If true, the QUIC dispatcher will directly send version negotiation packets | 145 // If true, the QUIC dispatcher will directly send version negotiation packets |
| 151 // without needing to create a QUIC session first. | 146 // without needing to create a QUIC session first. |
| 152 bool FLAGS_quic_stateless_version_negotiation = false; | 147 bool FLAGS_quic_stateless_version_negotiation = false; |
| OLD | NEW |