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 21 matching lines...) Expand all Loading... |
32 // Currently, this number is quite conservative. The max QPS limit for an | 32 // Currently, this number is quite conservative. The max QPS limit for an |
33 // individual server silo is currently set to 1000 qps, though the actual max | 33 // individual server silo is currently set to 1000 qps, though the actual max |
34 // that we see in the wild is closer to 450 qps. Regardless, this means that the | 34 // that we see in the wild is closer to 450 qps. Regardless, this means that the |
35 // longest time-wait list we should see is 5 seconds * 1000 qps = 5000. If we | 35 // longest time-wait list we should see is 5 seconds * 1000 qps = 5000. If we |
36 // allow for an order of magnitude leeway, we have 50000. | 36 // allow for an order of magnitude leeway, we have 50000. |
37 // | 37 // |
38 // Maximum number of connections on the time-wait list. A negative value implies | 38 // Maximum number of connections on the time-wait list. A negative value implies |
39 // no configured limit. | 39 // no configured limit. |
40 int64 FLAGS_quic_time_wait_list_max_connections = 50000; | 40 int64 FLAGS_quic_time_wait_list_max_connections = 50000; |
41 | 41 |
42 // If true, use the peer's receive buffer size to set the max CWND used by the | |
43 // send algorithms. | |
44 bool FLAGS_quic_limit_max_cwnd_to_receive_buffer = true; | |
45 | |
46 // Enables server-side support for QUIC stateless rejects. | 42 // Enables server-side support for QUIC stateless rejects. |
47 bool FLAGS_enable_quic_stateless_reject_support = false; | 43 bool FLAGS_enable_quic_stateless_reject_support = false; |
OLD | NEW |