| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 // and AckNotifierManager. | 104 // and AckNotifierManager. |
| 105 bool FLAGS_quic_no_ack_notifier = true; | 105 bool FLAGS_quic_no_ack_notifier = true; |
| 106 | 106 |
| 107 // If true, QuicSession::GetNumOpenStreams will count unfinished | 107 // If true, QuicSession::GetNumOpenStreams will count unfinished |
| 108 // streams as open streams, QuicSession::PostProcessAfterData will not | 108 // streams as open streams, QuicSession::PostProcessAfterData will not |
| 109 // check the quota of unifinished streams. | 109 // check the quota of unifinished streams. |
| 110 bool FLAGS_quic_count_unfinished_as_open_streams = true; | 110 bool FLAGS_quic_count_unfinished_as_open_streams = true; |
| 111 | 111 |
| 112 // If true, use the unrolled prefetch path in QuicPacketCreator::CopyToBuffer. | 112 // If true, use the unrolled prefetch path in QuicPacketCreator::CopyToBuffer. |
| 113 bool FLAGS_quic_packet_creator_prefetch = false; | 113 bool FLAGS_quic_packet_creator_prefetch = false; |
| 114 |
| 115 // If true, only migrate QUIC connections when client address changes are |
| 116 // considered to be caused by NATs. |
| 117 bool FLAGS_quic_disable_non_nat_address_migration = true; |
| OLD | NEW |