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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 bool FLAGS_quic_disable_pacing = false; | 71 bool FLAGS_quic_disable_pacing = false; |
72 | 72 |
73 // If true, Use QUIC's GeneralLossAlgorithm implementation instead of | 73 // If true, Use QUIC's GeneralLossAlgorithm implementation instead of |
74 // TcpLossAlgorithm or TimeLossAlgorithm. | 74 // TcpLossAlgorithm or TimeLossAlgorithm. |
75 bool FLAGS_quic_general_loss_algorithm = true; | 75 bool FLAGS_quic_general_loss_algorithm = true; |
76 | 76 |
77 // If true, only migrate QUIC connections when client address changes are | 77 // If true, only migrate QUIC connections when client address changes are |
78 // considered to be caused by NATs. | 78 // considered to be caused by NATs. |
79 bool FLAGS_quic_disable_non_nat_address_migration = true; | 79 bool FLAGS_quic_disable_non_nat_address_migration = true; |
80 | 80 |
81 // If true, QuicOneBlockArenas will allocate out of their local memory. | |
82 // Otherwise, they will always use the heap. | |
83 bool FLAGS_quic_enable_arena_allocation = true; | |
84 | |
85 // If true, QUIC connections will timeout when packets are not being recieved, | 81 // If true, QUIC connections will timeout when packets are not being recieved, |
86 // even if they are being sent. | 82 // even if they are being sent. |
87 bool FLAGS_quic_use_new_idle_timeout = true; | 83 bool FLAGS_quic_use_new_idle_timeout = true; |
88 | 84 |
89 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data | 85 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data |
90 // structure for QuicStreamSequencer bufferring. | 86 // structure for QuicStreamSequencer bufferring. |
91 bool FLAGS_quic_use_stream_sequencer_buffer = true; | 87 bool FLAGS_quic_use_stream_sequencer_buffer = true; |
92 | 88 |
93 // If true, don't send QUIC packets if the send alarm is set. | 89 // If true, don't send QUIC packets if the send alarm is set. |
94 bool FLAGS_quic_respect_send_alarm2 = true; | 90 bool FLAGS_quic_respect_send_alarm2 = true; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 // serialized packet when frames are retransmitted. | 161 // serialized packet when frames are retransmitted. |
166 bool FLAGS_quic_retransmit_via_onserializedpacket = true; | 162 bool FLAGS_quic_retransmit_via_onserializedpacket = true; |
167 | 163 |
168 // If true, for QUIC authenticated encryption algorithms, last 8 bytes | 164 // If true, for QUIC authenticated encryption algorithms, last 8 bytes |
169 // of IV comprise packet path id and lower 7 bytes of packet number. | 165 // of IV comprise packet path id and lower 7 bytes of packet number. |
170 bool FLAGS_quic_include_path_id_in_iv = true; | 166 bool FLAGS_quic_include_path_id_in_iv = true; |
171 | 167 |
172 // If true, make sure new incoming streams correctly cede to higher | 168 // If true, make sure new incoming streams correctly cede to higher |
173 // priority (or batch) streams when doing QUIC writes. | 169 // priority (or batch) streams when doing QUIC writes. |
174 bool FLAGS_quic_cede_correctly = true; | 170 bool FLAGS_quic_cede_correctly = true; |
OLD | NEW |