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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 // instead of a set. | 62 // instead of a set. |
63 bool FLAGS_quic_packet_queue_use_interval_set = true; | 63 bool FLAGS_quic_packet_queue_use_interval_set = true; |
64 | 64 |
65 // If true, Cubic's epoch is shifted when the sender is application-limited. | 65 // If true, Cubic's epoch is shifted when the sender is application-limited. |
66 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = true; | 66 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = true; |
67 | 67 |
68 // If true, accounts for available (implicitly opened) streams under a separate | 68 // If true, accounts for available (implicitly opened) streams under a separate |
69 // quota from open streams, which is 10 times larger. | 69 // quota from open streams, which is 10 times larger. |
70 bool FLAGS_allow_many_available_streams = true; | 70 bool FLAGS_allow_many_available_streams = true; |
71 | 71 |
72 // If true, QuicPacketReader::ReadAndDispatchPackets will only return true if | |
73 // recvmmsg fills all of the passed in messages. Otherwise, it will return true | |
74 // if recvmmsg read any messages. | |
75 bool FLAGS_quic_read_packets_full_recvmmsg = true; | |
76 | |
77 // If true, QUIC will measure head of line (HOL) blocking due between | 72 // If true, QUIC will measure head of line (HOL) blocking due between |
78 // streams due to packet losses on the headers stream. The | 73 // streams due to packet losses on the headers stream. The |
79 // measurements will be surfaced via UMA histogram | 74 // measurements will be surfaced via UMA histogram |
80 // Net.QuicSession.HeadersHOLBlockedTime. | 75 // Net.QuicSession.HeadersHOLBlockedTime. |
81 bool FLAGS_quic_measure_headers_hol_blocking_time = true; | 76 bool FLAGS_quic_measure_headers_hol_blocking_time = true; |
82 | 77 |
83 // Disable QUIC's userspace pacing. | 78 // Disable QUIC's userspace pacing. |
84 bool FLAGS_quic_disable_pacing = false; | 79 bool FLAGS_quic_disable_pacing = false; |
85 | 80 |
86 // If true, a FIN received on a stream with read_side_closed_ true will be | 81 // If true, a FIN received on a stream with read_side_closed_ true will be |
(...skipping 23 matching lines...) Expand all Loading... |
110 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data | 105 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data |
111 // structure for QuicStreamSequencer bufferring. | 106 // structure for QuicStreamSequencer bufferring. |
112 bool FLAGS_quic_use_stream_sequencer_buffer = true; | 107 bool FLAGS_quic_use_stream_sequencer_buffer = true; |
113 | 108 |
114 // If true, don't send QUIC packets if the send alarm is set. | 109 // If true, don't send QUIC packets if the send alarm is set. |
115 bool FLAGS_quic_respect_send_alarm = true; | 110 bool FLAGS_quic_respect_send_alarm = true; |
116 | 111 |
117 // If true, allow each quic stream to write 16k blocks rather than doing a round | 112 // If true, allow each quic stream to write 16k blocks rather than doing a round |
118 // robin of one packet per session when ack clocked or paced. | 113 // robin of one packet per session when ack clocked or paced. |
119 bool FLAGS_quic_batch_writes = true; | 114 bool FLAGS_quic_batch_writes = true; |
OLD | NEW |