Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(358)

Side by Side Diff: net/quic/quic_flags.cc

Issue 1138443003: Land Recent QUIC Changes until 05/13/2015 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile error fixes Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/quic_flags.h ('k') | net/quic/quic_flow_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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;
44
45 // If true, stop processing quic data as soon as the connection is closed rather
46 // than processing a full packet.
47 bool FLAGS_quic_stop_early = true;
OLDNEW
« no previous file with comments | « net/quic/quic_flags.h ('k') | net/quic/quic_flow_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698