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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 // Net.QuicSession.HeadersHOLBlockedTime. | 67 // Net.QuicSession.HeadersHOLBlockedTime. |
68 bool FLAGS_quic_measure_headers_hol_blocking_time = true; | 68 bool FLAGS_quic_measure_headers_hol_blocking_time = true; |
69 | 69 |
70 // Disable QUIC's userspace pacing. | 70 // Disable QUIC's userspace pacing. |
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 | |
78 // considered to be caused by NATs. | |
79 bool FLAGS_quic_disable_non_nat_address_migration = true; | |
80 | |
81 // If true, QUIC connections will timeout when packets are not being recieved, | 77 // If true, QUIC connections will timeout when packets are not being recieved, |
82 // even if they are being sent. | 78 // even if they are being sent. |
83 bool FLAGS_quic_use_new_idle_timeout = true; | 79 bool FLAGS_quic_use_new_idle_timeout = true; |
84 | 80 |
85 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data | 81 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data |
86 // structure for QuicStreamSequencer bufferring. | 82 // structure for QuicStreamSequencer bufferring. |
87 bool FLAGS_quic_use_stream_sequencer_buffer = true; | 83 bool FLAGS_quic_use_stream_sequencer_buffer = true; |
88 | 84 |
89 // If true, don't send QUIC packets if the send alarm is set. | 85 // If true, don't send QUIC packets if the send alarm is set. |
90 bool FLAGS_quic_respect_send_alarm2 = true; | 86 bool FLAGS_quic_respect_send_alarm2 = true; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 // priority (or batch) streams when doing QUIC writes. | 161 // priority (or batch) streams when doing QUIC writes. |
166 bool FLAGS_quic_cede_correctly = true; | 162 bool FLAGS_quic_cede_correctly = true; |
167 | 163 |
168 // Has QuicCryptoProof hold a ref to the primary_config instead of storing its | 164 // Has QuicCryptoProof hold a ref to the primary_config instead of storing its |
169 // SCID. | 165 // SCID. |
170 bool FLAGS_quic_crypto_proof_use_ref = true; | 166 bool FLAGS_quic_crypto_proof_use_ref = true; |
171 | 167 |
172 // If on, max number of incoming and outgoing streams will be different. | 168 // If on, max number of incoming and outgoing streams will be different. |
173 // Incoming will be a little higher than outgoing to tolerate race condition. | 169 // Incoming will be a little higher than outgoing to tolerate race condition. |
174 bool FLAGS_quic_different_max_num_open_streams = true; | 170 bool FLAGS_quic_different_max_num_open_streams = true; |
OLD | NEW |