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 23 matching lines...) Expand all Loading... |
34 | 34 |
35 // If true, enables the QUIC bandwidth resumption experiment (triggered by | 35 // If true, enables the QUIC bandwidth resumption experiment (triggered by |
36 // Chrome/Finch). | 36 // Chrome/Finch). |
37 bool FLAGS_quic_enable_bandwidth_resumption_experiment = true; | 37 bool FLAGS_quic_enable_bandwidth_resumption_experiment = true; |
38 | 38 |
39 // If true, QUIC congestion control will be paced. If false, pacing may be | 39 // If true, QUIC congestion control will be paced. If false, pacing may be |
40 // controlled by QUIC connection options in the config or by enabling BBR | 40 // controlled by QUIC connection options in the config or by enabling BBR |
41 // congestion control. | 41 // congestion control. |
42 bool FLAGS_quic_enable_pacing = false; | 42 bool FLAGS_quic_enable_pacing = false; |
43 | 43 |
44 // If true, the silent close option will be honored. | |
45 bool FLAGS_quic_allow_silent_close = true; | |
46 | |
47 // If true, use std::cbrt instead of custom cube root. | 44 // If true, use std::cbrt instead of custom cube root. |
48 bool FLAGS_quic_use_std_cbrt = true; | 45 bool FLAGS_quic_use_std_cbrt = true; |
49 | 46 |
50 // If true, then the source address tokens generated for QUIC connects will | 47 // If true, then the source address tokens generated for QUIC connects will |
51 // store multiple addresses. | 48 // store multiple addresses. |
52 bool FLAGS_quic_use_multiple_address_in_source_tokens = false; | 49 bool FLAGS_quic_use_multiple_address_in_source_tokens = false; |
53 | 50 |
54 // If true, uses the last sent packet for the RTO timer instead of the earliest. | 51 // If true, uses the last sent packet for the RTO timer instead of the earliest. |
55 bool FLAGS_quic_rto_uses_last_sent = true; | 52 bool FLAGS_quic_rto_uses_last_sent = true; |
56 | 53 |
(...skipping 19 matching lines...) Expand all Loading... |
76 // longest time-wait list we should see is 5 seconds * 1000 qps = 5000. If we | 73 // longest time-wait list we should see is 5 seconds * 1000 qps = 5000. If we |
77 // allow for an order of magnitude leeway, we have 50000. | 74 // allow for an order of magnitude leeway, we have 50000. |
78 // | 75 // |
79 // Maximum number of connections on the time-wait list. A negative value implies | 76 // Maximum number of connections on the time-wait list. A negative value implies |
80 // no configured limit. | 77 // no configured limit. |
81 int64 FLAGS_quic_time_wait_list_max_connections = 50000; | 78 int64 FLAGS_quic_time_wait_list_max_connections = 50000; |
82 | 79 |
83 // If true, limit the number of connections on the quic time-wait list using a | 80 // If true, limit the number of connections on the quic time-wait list using a |
84 // flag. | 81 // flag. |
85 bool FLAGS_quic_limit_time_wait_list_size = true; | 82 bool FLAGS_quic_limit_time_wait_list_size = true; |
OLD | NEW |