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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 bool FLAGS_quic_disable_pacing = false; | 75 bool FLAGS_quic_disable_pacing = false; |
76 | 76 |
77 // If true, Use QUIC's GeneralLossAlgorithm implementation instead of | 77 // If true, Use QUIC's GeneralLossAlgorithm implementation instead of |
78 // TcpLossAlgorithm or TimeLossAlgorithm. | 78 // TcpLossAlgorithm or TimeLossAlgorithm. |
79 bool FLAGS_quic_general_loss_algorithm = true; | 79 bool FLAGS_quic_general_loss_algorithm = true; |
80 | 80 |
81 // If true, only migrate QUIC connections when client address changes are | 81 // If true, only migrate QUIC connections when client address changes are |
82 // considered to be caused by NATs. | 82 // considered to be caused by NATs. |
83 bool FLAGS_quic_disable_non_nat_address_migration = true; | 83 bool FLAGS_quic_disable_non_nat_address_migration = true; |
84 | 84 |
| 85 // If true, QuicOneBlockArenas will allocate out of their local memory. |
| 86 // Otherwise, they will always use the heap. |
| 87 bool FLAGS_quic_enable_arena_allocation = true; |
| 88 |
85 // If true, QUIC connections will timeout when packets are not being recieved, | 89 // If true, QUIC connections will timeout when packets are not being recieved, |
86 // even if they are being sent. | 90 // even if they are being sent. |
87 bool FLAGS_quic_use_new_idle_timeout = true; | 91 bool FLAGS_quic_use_new_idle_timeout = true; |
88 | 92 |
89 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data | 93 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data |
90 // structure for QuicStreamSequencer bufferring. | 94 // structure for QuicStreamSequencer bufferring. |
91 bool FLAGS_quic_use_stream_sequencer_buffer = true; | 95 bool FLAGS_quic_use_stream_sequencer_buffer = true; |
92 | 96 |
93 // If true, don't send QUIC packets if the send alarm is set. | 97 // If true, don't send QUIC packets if the send alarm is set. |
94 bool FLAGS_quic_respect_send_alarm2 = true; | 98 bool FLAGS_quic_respect_send_alarm2 = true; |
(...skipping 51 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 |