telemetry: Compute multiple first gesture scroll updates if there were multiple gestures
[chromium-blink-merge.git] / net / quic / quic_flags.cc
blob39810a91a05cd445e52c06f3297e4e0182d78ced
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
3 // found in the LICENSE file.
5 #include "net/quic/quic_flags.h"
7 bool FLAGS_quic_allow_oversized_packets_for_test = false;
9 // When true, the use time based loss detection instead of nack.
10 bool FLAGS_quic_use_time_loss_detection = false;
12 // If true, it will return as soon as an error is detected while validating
13 // CHLO.
14 bool FLAGS_use_early_return_when_verifying_chlo = true;
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
18 // must also request FEC protection for the server to use FEC.
19 bool FLAGS_enable_quic_fec = false;
21 // When true, defaults to BBR congestion control instead of Cubic.
22 bool FLAGS_quic_use_bbr_congestion_control = false;
24 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC
25 // connection options.
26 bool FLAGS_quic_allow_bbr = false;
28 // Time period for which a given connection_id should live in the time-wait
29 // state.
30 int64 FLAGS_quic_time_wait_list_seconds = 200;
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
34 // that we see in the wild is closer to 450 qps. Regardless, this means that
35 // the longest time-wait list we should see is 200 seconds * 1000 qps = 200000.
36 // Of course, there are usually many queries per QUIC connection, so we allow a
37 // factor of 3 leeway.
39 // Maximum number of connections on the time-wait list. A negative value implies
40 // no configured limit.
41 int64 FLAGS_quic_time_wait_list_max_connections = 600000;
43 // Enables server-side support for QUIC stateless rejects.
44 bool FLAGS_enable_quic_stateless_reject_support = true;
46 // If true, flow controller may grow the receive window size if necessary.
47 bool FLAGS_quic_auto_tune_receive_window = true;
49 // Enables sending of FEC packet only when FEC alarm goes off.
50 bool FLAGS_quic_send_fec_packet_only_on_fec_alarm = true;
52 // Enables server-side path MTU discovery in QUIC.
53 bool FLAGS_quic_do_path_mtu_discovery = true;
55 // Process QUIC frames as soon as they're parsed, instead of waiting for the
56 // packet's parsing to complete.
57 bool FLAGS_quic_process_frames_inline = true;
59 // No longer call OnCanWrite when connection level flow control unblocks in
60 // QuicSession.
61 bool FLAGS_quic_dont_write_when_flow_unblocked = true;
63 // If true, client IP migration is allowed in QUIC.
64 bool FLAGS_quic_allow_ip_migration = true;
66 // Estimate that only 60% of QUIC's receive buffer is usable as opposed to 95%.
67 bool FLAGS_quic_use_conservative_receive_buffer = true;
69 // If true, default quic_time_wait_list_seconds (time to keep a connection ID on
70 // the time-wait list) is 200 seconds rather than 5 seconds and increase the
71 // maximum time-wait list size to 600,000.
72 bool FLAGS_increase_time_wait_list = true;
74 // Limits QUIC's max CWND to 200 packets.
75 bool FLAGS_quic_limit_max_cwnd = true;
77 // If true, don't serialize invalid HTTP headers when converting HTTP to SPDY.
78 bool FLAGS_spdy_strip_invalid_headers = true;