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 |
(...skipping 27 matching lines...) Expand all Loading... |
38 // no configured limit. | 38 // no configured limit. |
39 int64_t FLAGS_quic_time_wait_list_max_connections = 600000; | 39 int64_t FLAGS_quic_time_wait_list_max_connections = 600000; |
40 | 40 |
41 // Enables server-side support for QUIC stateless rejects. | 41 // Enables server-side support for QUIC stateless rejects. |
42 bool FLAGS_enable_quic_stateless_reject_support = true; | 42 bool FLAGS_enable_quic_stateless_reject_support = true; |
43 | 43 |
44 // If ture, allow Ack Decimation to be used for QUIC when requested by the | 44 // If ture, allow Ack Decimation to be used for QUIC when requested by the |
45 // client connection option ACKD. | 45 // client connection option ACKD. |
46 bool FLAGS_quic_ack_decimation = true; | 46 bool FLAGS_quic_ack_decimation = true; |
47 | 47 |
| 48 // This flag is not in use, just to keep consistency for shared code. |
| 49 bool FLAGS_quic_always_log_bugs_for_tests = false; |
| 50 |
48 // If true, flow controller may grow the receive window size if necessary. | 51 // If true, flow controller may grow the receive window size if necessary. |
49 bool FLAGS_quic_auto_tune_receive_window = true; | 52 bool FLAGS_quic_auto_tune_receive_window = true; |
50 | 53 |
51 // Limits QUIC's max CWND to 200 packets. | 54 // Limits QUIC's max CWND to 200 packets. |
52 bool FLAGS_quic_limit_max_cwnd = true; | 55 bool FLAGS_quic_limit_max_cwnd = true; |
53 | 56 |
54 // If true, require handshake confirmation for QUIC connections, functionally | 57 // If true, require handshake confirmation for QUIC connections, functionally |
55 // disabling 0-rtt handshakes. | 58 // disabling 0-rtt handshakes. |
56 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. | 59 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. |
57 bool FLAGS_quic_require_handshake_confirmation = false; | 60 bool FLAGS_quic_require_handshake_confirmation = false; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 bool FLAGS_quic_inplace_encryption = true; | 135 bool FLAGS_quic_inplace_encryption = true; |
133 | 136 |
134 // If true, QUIC will support RFC 7539 variants of ChaCha20 Poly1305. | 137 // If true, QUIC will support RFC 7539 variants of ChaCha20 Poly1305. |
135 bool FLAGS_quic_use_rfc7539 = true; | 138 bool FLAGS_quic_use_rfc7539 = true; |
136 | 139 |
137 // If true, drop not awaited QUIC packets before decrypting them. | 140 // If true, drop not awaited QUIC packets before decrypting them. |
138 bool FLAGS_quic_drop_non_awaited_packets = false; | 141 bool FLAGS_quic_drop_non_awaited_packets = false; |
139 | 142 |
140 // If true, use the fast implementation of IncrementalHash/FNV1a_128_Hash. | 143 // If true, use the fast implementation of IncrementalHash/FNV1a_128_Hash. |
141 bool FLAGS_quic_utils_use_fast_incremental_hash = true; | 144 bool FLAGS_quic_utils_use_fast_incremental_hash = true; |
OLD | NEW |