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 | 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 | 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. | 16 // must also request FEC protection for the server to use FEC. |
17 bool FLAGS_enable_quic_fec = true; | 17 bool FLAGS_enable_quic_fec = false; |
18 | 18 |
19 // When true, defaults to BBR congestion control instead of Cubic. | 19 // When true, defaults to BBR congestion control instead of Cubic. |
20 bool FLAGS_quic_use_bbr_congestion_control = false; | 20 bool FLAGS_quic_use_bbr_congestion_control = false; |
21 | 21 |
22 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC | 22 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC |
23 // connection options. | 23 // connection options. |
24 bool FLAGS_quic_allow_bbr = false; | 24 bool FLAGS_quic_allow_bbr = false; |
25 | 25 |
26 // Time period for which a given connection_id should live in the time-wait | 26 // Time period for which a given connection_id should live in the time-wait |
27 // state. | 27 // state. |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 bool FLAGS_quic_use_primary_config_for_proof = true; | 120 bool FLAGS_quic_use_primary_config_for_proof = true; |
121 | 121 |
122 // Enable counters for incoming/outgoing streams which are used as condition | 122 // Enable counters for incoming/outgoing streams which are used as condition |
123 // check while creating a new stream. | 123 // check while creating a new stream. |
124 bool FLAGS_quic_distinguish_incoming_outgoing_streams = true; | 124 bool FLAGS_quic_distinguish_incoming_outgoing_streams = true; |
125 | 125 |
126 // If true, QUIC servers will attempt to validate a client's source | 126 // If true, QUIC servers will attempt to validate a client's source |
127 // address token using the primary config, even if no server config id | 127 // address token using the primary config, even if no server config id |
128 // is present in the client hello. | 128 // is present in the client hello. |
129 bool FLAGS_quic_validate_stk_without_scid = true; | 129 bool FLAGS_quic_validate_stk_without_scid = true; |
OLD | NEW |