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 = false; | 17 bool FLAGS_enable_quic_fec = true; |
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 // robin of one packet per session when ack clocked or paced. | 102 // robin of one packet per session when ack clocked or paced. |
103 bool FLAGS_quic_batch_writes = true; | 103 bool FLAGS_quic_batch_writes = true; |
104 | 104 |
105 // If true, QUIC sessions will write block streams that attempt to write | 105 // If true, QUIC sessions will write block streams that attempt to write |
106 // unencrypted data. | 106 // unencrypted data. |
107 bool FLAGS_quic_block_unencrypted_writes = true; | 107 bool FLAGS_quic_block_unencrypted_writes = true; |
108 | 108 |
109 // If true, Close the connection instead of writing unencrypted stream data. | 109 // If true, Close the connection instead of writing unencrypted stream data. |
110 bool FLAGS_quic_never_write_unencrypted_data = true; | 110 bool FLAGS_quic_never_write_unencrypted_data = true; |
111 | 111 |
| 112 // If true, clear the FEC group instead of sending it with ENCRYPTION_NONE. |
| 113 // Close the connection if we ever try to serialized unencrypted FEC. |
| 114 bool FLAGS_quic_no_unencrypted_fec = true; |
| 115 |
112 // If true, reject any incoming QUIC which does not have the FIXD tag. | 116 // If true, reject any incoming QUIC which does not have the FIXD tag. |
113 bool FLAGS_quic_require_fix = true; | 117 bool FLAGS_quic_require_fix = true; |
114 | 118 |
115 // If true, QUIC supports sending trailers from Server to Client. | 119 // If true, QUIC supports sending trailers from Server to Client. |
116 bool FLAGS_quic_supports_trailers = true; | 120 bool FLAGS_quic_supports_trailers = true; |
117 | 121 |
118 // Fixes a bug in QUIC_VERSION_26 by always using the primary config when | 122 // Fixes a bug in QUIC_VERSION_26 by always using the primary config when |
119 // getting the proof of possession. | 123 // getting the proof of possession. |
120 bool FLAGS_quic_use_primary_config_for_proof = true; | 124 bool FLAGS_quic_use_primary_config_for_proof = true; |
121 | 125 |
(...skipping 13 matching lines...) Expand all Loading... |
135 bool FLAGS_quic_inplace_encryption = true; | 139 bool FLAGS_quic_inplace_encryption = true; |
136 | 140 |
137 // If true, QUIC will support RFC 7539 variants of ChaCha20 Poly1305. | 141 // If true, QUIC will support RFC 7539 variants of ChaCha20 Poly1305. |
138 bool FLAGS_quic_use_rfc7539 = true; | 142 bool FLAGS_quic_use_rfc7539 = true; |
139 | 143 |
140 // If true, drop not awaited QUIC packets before decrypting them. | 144 // If true, drop not awaited QUIC packets before decrypting them. |
141 bool FLAGS_quic_drop_non_awaited_packets = false; | 145 bool FLAGS_quic_drop_non_awaited_packets = false; |
142 | 146 |
143 // If true, use the fast implementation of IncrementalHash/FNV1a_128_Hash. | 147 // If true, use the fast implementation of IncrementalHash/FNV1a_128_Hash. |
144 bool FLAGS_quic_utils_use_fast_incremental_hash = true; | 148 bool FLAGS_quic_utils_use_fast_incremental_hash = true; |
OLD | NEW |