| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 // Currently, this number is quite conservative. The max QPS limit for an | 45 // Currently, this number is quite conservative. The max QPS limit for an |
| 46 // individual server silo is currently set to 1000 qps, though the actual max | 46 // individual server silo is currently set to 1000 qps, though the actual max |
| 47 // that we see in the wild is closer to 450 qps. Regardless, this means that the | 47 // that we see in the wild is closer to 450 qps. Regardless, this means that the |
| 48 // longest time-wait list we should see is 5 seconds * 1000 qps = 5000. If we | 48 // longest time-wait list we should see is 5 seconds * 1000 qps = 5000. If we |
| 49 // allow for an order of magnitude leeway, we have 50000. | 49 // allow for an order of magnitude leeway, we have 50000. |
| 50 // | 50 // |
| 51 // Maximum number of connections on the time-wait list. A negative value implies | 51 // Maximum number of connections on the time-wait list. A negative value implies |
| 52 // no configured limit. | 52 // no configured limit. |
| 53 int64 FLAGS_quic_time_wait_list_max_connections = 50000; | 53 int64 FLAGS_quic_time_wait_list_max_connections = 50000; |
| 54 | 54 |
| 55 // If true, limit the number of connections on the quic time-wait list using a | |
| 56 // flag. | |
| 57 bool FLAGS_quic_limit_time_wait_list_size = true; | |
| 58 | |
| 59 // Use small QUIC packet sizes by default. | 55 // Use small QUIC packet sizes by default. |
| 60 bool FLAGS_quic_small_default_packet_size = true; | 56 bool FLAGS_quic_small_default_packet_size = true; |
| OLD | NEW |