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 // When true, the use time based loss detection instead of nack. | 7 // When true, the use time based loss detection instead of nack. |
8 bool FLAGS_quic_use_time_loss_detection = false; | 8 bool FLAGS_quic_use_time_loss_detection = false; |
9 | 9 |
10 // If true, it will return as soon as an error is detected while validating | 10 // If true, it will return as soon as an error is detected while validating |
(...skipping 23 matching lines...) Expand all Loading... |
34 // Of course, there are usually many queries per QUIC connection, so we allow a | 34 // Of course, there are usually many queries per QUIC connection, so we allow a |
35 // factor of 3 leeway. | 35 // factor of 3 leeway. |
36 // | 36 // |
37 // Maximum number of connections on the time-wait list. A negative value implies | 37 // Maximum number of connections on the time-wait list. A negative value implies |
38 // no configured limit. | 38 // no configured limit. |
39 int64_t FLAGS_quic_time_wait_list_max_connections = 600000; | 39 int64_t FLAGS_quic_time_wait_list_max_connections = 600000; |
40 | 40 |
41 // Enables server-side support for QUIC stateless rejects. | 41 // Enables server-side support for QUIC stateless rejects. |
42 bool FLAGS_enable_quic_stateless_reject_support = true; | 42 bool FLAGS_enable_quic_stateless_reject_support = true; |
43 | 43 |
44 // If ture, allow Ack Decimation to be used for QUIC when requested by the | |
45 // client connection option ACKD. | |
46 bool FLAGS_quic_ack_decimation = true; | |
47 | |
48 // This flag is not in use, just to keep consistency for shared code. | 44 // This flag is not in use, just to keep consistency for shared code. |
49 bool FLAGS_quic_always_log_bugs_for_tests = false; | 45 bool FLAGS_quic_always_log_bugs_for_tests = false; |
50 | 46 |
51 // If true, flow controller may grow the receive window size if necessary. | 47 // If true, flow controller may grow the receive window size if necessary. |
52 bool FLAGS_quic_auto_tune_receive_window = true; | 48 bool FLAGS_quic_auto_tune_receive_window = true; |
53 | 49 |
54 // If true, multipath is enabled for the connection. | 50 // If true, multipath is enabled for the connection. |
55 bool FLAGS_quic_enable_multipath = false; | 51 bool FLAGS_quic_enable_multipath = false; |
56 | 52 |
57 // Limits QUIC's max CWND to 200 packets. | 53 // Limits QUIC's max CWND to 200 packets. |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 // serialized packet when frames are retransmitted. | 165 // serialized packet when frames are retransmitted. |
170 bool FLAGS_quic_retransmit_via_onserializedpacket = true; | 166 bool FLAGS_quic_retransmit_via_onserializedpacket = true; |
171 | 167 |
172 // If true, for QUIC authenticated encryption algorithms, last 8 bytes | 168 // If true, for QUIC authenticated encryption algorithms, last 8 bytes |
173 // of IV comprise packet path id and lower 7 bytes of packet number. | 169 // of IV comprise packet path id and lower 7 bytes of packet number. |
174 bool FLAGS_quic_include_path_id_in_iv = true; | 170 bool FLAGS_quic_include_path_id_in_iv = true; |
175 | 171 |
176 // If true, make sure new incoming streams correctly cede to higher | 172 // If true, make sure new incoming streams correctly cede to higher |
177 // priority (or batch) streams when doing QUIC writes. | 173 // priority (or batch) streams when doing QUIC writes. |
178 bool FLAGS_quic_cede_correctly = true; | 174 bool FLAGS_quic_cede_correctly = true; |
OLD | NEW |