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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 // If true, require handshake confirmation for QUIC connections, functionally | 52 // If true, require handshake confirmation for QUIC connections, functionally |
53 // disabling 0-rtt handshakes. | 53 // disabling 0-rtt handshakes. |
54 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. | 54 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. |
55 bool FLAGS_quic_require_handshake_confirmation = false; | 55 bool FLAGS_quic_require_handshake_confirmation = false; |
56 | 56 |
57 // If true, after a server silo receives a packet from a migrated QUIC | 57 // If true, after a server silo receives a packet from a migrated QUIC |
58 // client, a GO_AWAY frame is sent to the client. | 58 // client, a GO_AWAY frame is sent to the client. |
59 bool FLAGS_send_goaway_after_client_migration = true; | 59 bool FLAGS_send_goaway_after_client_migration = true; |
60 | 60 |
61 // QUIC-specific flag. If true, Cubic's epoch is reset when the sender is | |
62 // application-limited. | |
63 bool FLAGS_reset_cubic_epoch_when_app_limited = true; | |
64 | |
65 // If true, use an interval set as the internal representation of a packet queue | 61 // If true, use an interval set as the internal representation of a packet queue |
66 // instead of a set. | 62 // instead of a set. |
67 bool FLAGS_quic_packet_queue_use_interval_set = true; | 63 bool FLAGS_quic_packet_queue_use_interval_set = true; |
68 | 64 |
69 // 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. |
70 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = true; | 66 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = true; |
71 | 67 |
72 // If true, accounts for available (implicitly opened) streams under a separate | 68 // If true, accounts for available (implicitly opened) streams under a separate |
73 // quota from open streams, which is 10 times larger. | 69 // quota from open streams, which is 10 times larger. |
74 bool FLAGS_allow_many_available_streams = true; | 70 bool FLAGS_allow_many_available_streams = true; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data | 110 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data |
115 // structure for QuicStreamSequencer bufferring. | 111 // structure for QuicStreamSequencer bufferring. |
116 bool FLAGS_quic_use_stream_sequencer_buffer = true; | 112 bool FLAGS_quic_use_stream_sequencer_buffer = true; |
117 | 113 |
118 // If true, don't send QUIC packets if the send alarm is set. | 114 // If true, don't send QUIC packets if the send alarm is set. |
119 bool FLAGS_quic_respect_send_alarm = true; | 115 bool FLAGS_quic_respect_send_alarm = true; |
120 | 116 |
121 // If true, allow each quic stream to write 16k blocks rather than doing a round | 117 // If true, allow each quic stream to write 16k blocks rather than doing a round |
122 // robin of one packet per session when ack clocked or paced. | 118 // robin of one packet per session when ack clocked or paced. |
123 bool FLAGS_quic_batch_writes = true; | 119 bool FLAGS_quic_batch_writes = true; |
OLD | NEW |