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, use a free list for the stream frame buffer allocations in |
| 15 // QuicPacketCreator. |
| 16 bool FLAGS_use_stream_frame_freelist = true; |
| 17 |
14 // If true, QUIC connections will support FEC protection of data while sending | 18 // 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 | 19 // packets, to reduce latency of data delivery to the application. The client |
16 // must also request FEC protection for the server to use FEC. | 20 // must also request FEC protection for the server to use FEC. |
17 bool FLAGS_enable_quic_fec = true; | 21 bool FLAGS_enable_quic_fec = true; |
18 | 22 |
19 // When true, defaults to BBR congestion control instead of Cubic. | 23 // When true, defaults to BBR congestion control instead of Cubic. |
20 bool FLAGS_quic_use_bbr_congestion_control = false; | 24 bool FLAGS_quic_use_bbr_congestion_control = false; |
21 | 25 |
22 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC | 26 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC |
23 // connection options. | 27 // connection options. |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 | 150 |
147 // If true, drop not awaited QUIC packets before decrypting them. | 151 // If true, drop not awaited QUIC packets before decrypting them. |
148 bool FLAGS_quic_drop_non_awaited_packets = false; | 152 bool FLAGS_quic_drop_non_awaited_packets = false; |
149 | 153 |
150 // If true, use the fast implementation of IncrementalHash/FNV1a_128_Hash. | 154 // If true, use the fast implementation of IncrementalHash/FNV1a_128_Hash. |
151 bool FLAGS_quic_utils_use_fast_incremental_hash = true; | 155 bool FLAGS_quic_utils_use_fast_incremental_hash = true; |
152 | 156 |
153 // If true, require QUIC connections to use a valid server nonce or a non-local | 157 // If true, require QUIC connections to use a valid server nonce or a non-local |
154 // strike register. | 158 // strike register. |
155 bool FLAGS_require_strike_register_or_server_nonce = true; | 159 bool FLAGS_require_strike_register_or_server_nonce = true; |
OLD | NEW |