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

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

Issue 1037643002: Land Recent QUIC Changes until 03/22/2015. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: deleted duplicated using statements in net/tools/quic/test_tools/quic_test_utils.cc Created 5 years, 9 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_sent_packet_manager.h » ('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;
11 11
12 // If true, it will return as soon as an error is detected while validating 12 // If true, it will return as soon as an error is detected while validating
13 // CHLO. 13 // CHLO.
14 bool FLAGS_use_early_return_when_verifying_chlo = true; 14 bool FLAGS_use_early_return_when_verifying_chlo = true;
15 15
16 // If true, QUIC connections will support FEC protection of data while sending 16 // If true, QUIC connections will support FEC protection of data while sending
17 // packets, to reduce latency of data delivery to the application. The client 17 // packets, to reduce latency of data delivery to the application. The client
18 // must also request FEC protection for the server to use FEC. 18 // must also request FEC protection for the server to use FEC.
19 bool FLAGS_enable_quic_fec = false; 19 bool FLAGS_enable_quic_fec = false;
20 20
21 // When true, defaults to BBR congestion control instead of Cubic. 21 // When true, defaults to BBR congestion control instead of Cubic.
22 bool FLAGS_quic_use_bbr_congestion_control = false; 22 bool FLAGS_quic_use_bbr_congestion_control = false;
23 23
24 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC 24 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC
25 // connection options. 25 // connection options.
26 bool FLAGS_quic_allow_bbr = false; 26 bool FLAGS_quic_allow_bbr = false;
27 27
28 // If true, enables the QUIC bandwidth resumption experiment (triggered by
29 // Chrome/Finch).
30 bool FLAGS_quic_enable_bandwidth_resumption_experiment = true;
31
32 // If true, then the source address tokens generated for QUIC connects will 28 // If true, then the source address tokens generated for QUIC connects will
33 // store multiple addresses. 29 // store multiple addresses.
34 bool FLAGS_quic_use_multiple_address_in_source_tokens = false; 30 bool FLAGS_quic_use_multiple_address_in_source_tokens = false;
35 31
36 // Time period for which a given connection_id should live in the time-wait 32 // Time period for which a given connection_id should live in the time-wait
37 // state. 33 // state.
38 int64 FLAGS_quic_time_wait_list_seconds = 5; 34 int64 FLAGS_quic_time_wait_list_seconds = 5;
39 35
40 // Currently, this number is quite conservative. The max QPS limit for an 36 // Currently, this number is quite conservative. The max QPS limit for an
41 // individual server silo is currently set to 1000 qps, though the actual max 37 // individual server silo is currently set to 1000 qps, though the actual max
42 // that we see in the wild is closer to 450 qps. Regardless, this means that the 38 // that we see in the wild is closer to 450 qps. Regardless, this means that the
43 // longest time-wait list we should see is 5 seconds * 1000 qps = 5000. If we 39 // longest time-wait list we should see is 5 seconds * 1000 qps = 5000. If we
44 // allow for an order of magnitude leeway, we have 50000. 40 // allow for an order of magnitude leeway, we have 50000.
45 // 41 //
46 // Maximum number of connections on the time-wait list. A negative value implies 42 // Maximum number of connections on the time-wait list. A negative value implies
47 // no configured limit. 43 // no configured limit.
48 int64 FLAGS_quic_time_wait_list_max_connections = 50000; 44 int64 FLAGS_quic_time_wait_list_max_connections = 50000;
49 45
50 // Use small QUIC packet sizes by default. 46 // Use small QUIC packet sizes by default.
51 bool FLAGS_quic_small_default_packet_size = true; 47 bool FLAGS_quic_small_default_packet_size = true;
52 48
53 // Do not retransmit data for streams that have been reset. 49 // Do not retransmit data for streams that have been reset.
54 bool FLAGS_quic_do_not_retransmit_for_reset_streams = true; 50 bool FLAGS_quic_do_not_retransmit_for_reset_streams = true;
51
52 // If true, use the peer's receive buffer size to set the max CWND used by the
53 // send algorithms.
54 bool FLAGS_quic_limit_max_cwnd_to_receive_buffer = true;
OLDNEW
« no previous file with comments | « net/quic/quic_flags.h ('k') | net/quic/quic_sent_packet_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698