| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 // recvmmsg fills all of the passed in messages. Otherwise, it will return true | 77 // recvmmsg fills all of the passed in messages. Otherwise, it will return true |
| 78 // if recvmmsg read any messages. | 78 // if recvmmsg read any messages. |
| 79 bool FLAGS_quic_read_packets_full_recvmmsg = true; | 79 bool FLAGS_quic_read_packets_full_recvmmsg = true; |
| 80 | 80 |
| 81 // If true, QUIC will measure head of line (HOL) blocking due between | 81 // If true, QUIC will measure head of line (HOL) blocking due between |
| 82 // streams due to packet losses on the headers stream. The | 82 // streams due to packet losses on the headers stream. The |
| 83 // measurements will be surfaced via UMA histogram | 83 // measurements will be surfaced via UMA histogram |
| 84 // Net.QuicSession.HeadersHOLBlockedTime. | 84 // Net.QuicSession.HeadersHOLBlockedTime. |
| 85 bool FLAGS_quic_measure_headers_hol_blocking_time = true; | 85 bool FLAGS_quic_measure_headers_hol_blocking_time = true; |
| 86 | 86 |
| 87 // If true, skip a check for mismatched stream IDs inside | |
| 88 // ReliableQuicStream::OnStreamFrame. | |
| 89 bool FLAGS_quic_stop_checking_for_mismatch_ids = true; | |
| 90 | |
| 91 // Disable QUIC's userspace pacing. | 87 // Disable QUIC's userspace pacing. |
| 92 bool FLAGS_quic_disable_pacing = false; | 88 bool FLAGS_quic_disable_pacing = false; |
| 93 | 89 |
| 94 // If true, a FIN received on a stream with read_side_closed_ true will be | 90 // If true, a FIN received on a stream with read_side_closed_ true will be |
| 95 // recorded correctly. | 91 // recorded correctly. |
| 96 bool FLAGS_quic_fix_fin_accounting = true; | 92 bool FLAGS_quic_fix_fin_accounting = true; |
| 97 | 93 |
| 98 // If true, ReliableQuicStream::StopReading (formerly CloseReadSide) causes | 94 // If true, ReliableQuicStream::StopReading (formerly CloseReadSide) causes |
| 99 // 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 |
| 100 // closed. | 96 // closed. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 112 // If true, use the unrolled prefetch path in QuicPacketCreator::CopyToBuffer. | 108 // If true, use the unrolled prefetch path in QuicPacketCreator::CopyToBuffer. |
| 113 bool FLAGS_quic_packet_creator_prefetch = false; | 109 bool FLAGS_quic_packet_creator_prefetch = false; |
| 114 | 110 |
| 115 // If true, only migrate QUIC connections when client address changes are | 111 // If true, only migrate QUIC connections when client address changes are |
| 116 // considered to be caused by NATs. | 112 // considered to be caused by NATs. |
| 117 bool FLAGS_quic_disable_non_nat_address_migration = true; | 113 bool FLAGS_quic_disable_non_nat_address_migration = true; |
| 118 | 114 |
| 119 // If true, QUIC connections will timeout when packets are not being recieved, | 115 // If true, QUIC connections will timeout when packets are not being recieved, |
| 120 // even if they are being sent. | 116 // even if they are being sent. |
| 121 bool FLAGS_quic_use_new_idle_timeout = true; | 117 bool FLAGS_quic_use_new_idle_timeout = true; |
| 118 |
| 119 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data |
| 120 // structure for QuicStreamSequencer bufferring. |
| 121 bool FLAGS_quic_use_stream_sequencer_buffer = true; |
| 122 |
| 123 // If true, don't send QUIC packets if the send alarm is set. |
| 124 // Disabled until b/25638635 is resolved. |
| 125 bool FLAGS_respect_send_alarm = false; |
| OLD | NEW |