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 bool FLAGS_quic_allow_oversized_packets_for_test = false; | 7 bool FLAGS_quic_allow_oversized_packets_for_test = false; |
8 | 8 |
9 // When true, the use time based loss detection instead of nack. | 9 // When true, the use time based loss detection instead of nack. |
10 bool FLAGS_quic_use_time_loss_detection = false; | 10 bool FLAGS_quic_use_time_loss_detection = false; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 93 |
94 // If true, ReliableQuicStream::StopReading (formerly CloseReadSide) causes | 94 // If true, ReliableQuicStream::StopReading (formerly CloseReadSide) causes |
95 // incoming data to be ignored but the read side of the stream object is not | 95 // incoming data to be ignored but the read side of the stream object is not |
96 // closed. | 96 // closed. |
97 bool FLAGS_quic_implement_stop_reading = true; | 97 bool FLAGS_quic_implement_stop_reading = true; |
98 | 98 |
99 // Invoke the QuicAckListener directly, instead of going through the AckNotifier | 99 // Invoke the QuicAckListener directly, instead of going through the AckNotifier |
100 // and AckNotifierManager. | 100 // and AckNotifierManager. |
101 bool FLAGS_quic_no_ack_notifier = true; | 101 bool FLAGS_quic_no_ack_notifier = true; |
102 | 102 |
103 // If true, QuicSession::GetNumOpenStreams will count unfinished | |
104 // streams as open streams, QuicSession::PostProcessAfterData will not | |
105 // check the quota of unifinished streams. | |
106 bool FLAGS_quic_count_unfinished_as_open_streams = true; | |
107 | |
108 // If true, use the unrolled prefetch path in QuicPacketCreator::CopyToBuffer. | 103 // If true, use the unrolled prefetch path in QuicPacketCreator::CopyToBuffer. |
109 bool FLAGS_quic_packet_creator_prefetch = false; | 104 bool FLAGS_quic_packet_creator_prefetch = false; |
110 | 105 |
111 // If true, only migrate QUIC connections when client address changes are | 106 // If true, only migrate QUIC connections when client address changes are |
112 // considered to be caused by NATs. | 107 // considered to be caused by NATs. |
113 bool FLAGS_quic_disable_non_nat_address_migration = true; | 108 bool FLAGS_quic_disable_non_nat_address_migration = true; |
114 | 109 |
115 // If true, QUIC connections will timeout when packets are not being recieved, | 110 // If true, QUIC connections will timeout when packets are not being recieved, |
116 // even if they are being sent. | 111 // even if they are being sent. |
117 bool FLAGS_quic_use_new_idle_timeout = true; | 112 bool FLAGS_quic_use_new_idle_timeout = true; |
118 | 113 |
119 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data | 114 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data |
120 // structure for QuicStreamSequencer bufferring. | 115 // structure for QuicStreamSequencer bufferring. |
121 bool FLAGS_quic_use_stream_sequencer_buffer = true; | 116 bool FLAGS_quic_use_stream_sequencer_buffer = true; |
122 | 117 |
123 // If true, don't send QUIC packets if the send alarm is set. | 118 // If true, don't send QUIC packets if the send alarm is set. |
124 // Disabled until b/25638635 is resolved. | 119 // Disabled until b/25638635 is resolved. |
125 bool FLAGS_respect_send_alarm = false; | 120 bool FLAGS_respect_send_alarm = false; |
OLD | NEW |