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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 // If true, drop not awaited QUIC packets before decrypting them. | 121 // If true, drop not awaited QUIC packets before decrypting them. |
122 bool FLAGS_quic_drop_non_awaited_packets = false; | 122 bool FLAGS_quic_drop_non_awaited_packets = false; |
123 | 123 |
124 // If true, use the fast implementation of IncrementalHash/FNV1a_128_Hash. | 124 // If true, use the fast implementation of IncrementalHash/FNV1a_128_Hash. |
125 bool FLAGS_quic_utils_use_fast_incremental_hash = true; | 125 bool FLAGS_quic_utils_use_fast_incremental_hash = true; |
126 | 126 |
127 // If true, require QUIC connections to use a valid server nonce or a non-local | 127 // If true, require QUIC connections to use a valid server nonce or a non-local |
128 // strike register. | 128 // strike register. |
129 bool FLAGS_require_strike_register_or_server_nonce = true; | 129 bool FLAGS_require_strike_register_or_server_nonce = true; |
130 | 130 |
131 // If true, use the shared writer directly for QuicTimeWaitListManagers instead | |
132 // of creating a wrapper object. | |
133 bool FLAGS_quic_time_wait_list_manager_use_shared_writer = true; | |
134 | |
135 // When turn on, log packet loss into transport connection stats LossEvent. | 131 // When turn on, log packet loss into transport connection stats LossEvent. |
136 bool FLAGS_quic_log_loss_event = true; | 132 bool FLAGS_quic_log_loss_event = true; |
137 | 133 |
138 // If true, use a free list for the stream frame buffer allocations in | 134 // If true, use a free list for the stream frame buffer allocations in |
139 // QuicPacketCreator. | 135 // QuicPacketCreator. |
140 bool FLAGS_use_stream_frame_freelist = true; | 136 bool FLAGS_use_stream_frame_freelist = true; |
141 | 137 |
142 // If true, for QUIC authenticated encryption algorithms, last 8 bytes | 138 // If true, for QUIC authenticated encryption algorithms, last 8 bytes |
143 // of IV comprise packet path id and lower 7 bytes of packet number. | 139 // of IV comprise packet path id and lower 7 bytes of packet number. |
144 bool FLAGS_quic_include_path_id_in_iv = true; | 140 bool FLAGS_quic_include_path_id_in_iv = true; |
(...skipping 23 matching lines...) Expand all Loading... |
168 // If true, always log the cached network parameters, regardless of whether | 164 // If true, always log the cached network parameters, regardless of whether |
169 // bandwidth-resumption has been enabled. | 165 // bandwidth-resumption has been enabled. |
170 bool FLAGS_quic_log_received_parameters = true; | 166 bool FLAGS_quic_log_received_parameters = true; |
171 | 167 |
172 // If true, QUIC will use newly refactored TCP sender code. | 168 // If true, QUIC will use newly refactored TCP sender code. |
173 bool FLAGS_quic_use_new_tcp_sender = true; | 169 bool FLAGS_quic_use_new_tcp_sender = true; |
174 | 170 |
175 // Saves the initial subkey secret in QUIC crypto when deriving keys from the | 171 // Saves the initial subkey secret in QUIC crypto when deriving keys from the |
176 // initial premaster secret. | 172 // initial premaster secret. |
177 bool FLAGS_quic_save_initial_subkey_secret = true; | 173 bool FLAGS_quic_save_initial_subkey_secret = true; |
OLD | NEW |