blob: b1c53b98a7ce8d833dd3f7f5f681bc7466f02b81 [file] [log] [blame]
[email protected]9bb57c72014-03-31 20:36:041// 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.
4
5#include "net/quic/quic_flags.h"
6
[email protected]9bb57c72014-03-31 20:36:047bool FLAGS_quic_allow_oversized_packets_for_test = false;
[email protected]6d9ca3b2014-05-13 07:44:228
[email protected]c5cc9bd2014-03-31 23:17:149// When true, the use time based loss detection instead of nack.
10bool FLAGS_quic_use_time_loss_detection = false;
[email protected]6d9ca3b2014-05-13 07:44:2211
[email protected]19886aaf2014-06-19 23:03:1812// If true, it will return as soon as an error is detected while validating
13// CHLO.
14bool FLAGS_use_early_return_when_verifying_chlo = true;
15
[email protected]cc1aa272014-06-30 19:48:2216// 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.
19bool FLAGS_enable_quic_fec = false;
[email protected]9693157b2014-08-08 11:13:4920
[email protected]672631c2014-08-16 06:11:4521// When true, defaults to BBR congestion control instead of Cubic.
22bool FLAGS_quic_use_bbr_congestion_control = false;
rtenneti31e9fd62014-09-16 05:22:1523
rtenneti08b014382014-10-29 14:03:1924// If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC
25// connection options.
26bool FLAGS_quic_allow_bbr = false;
rtenneti23186682014-10-30 01:49:3327
rtennetif4bdb542015-01-21 14:33:0528// Time period for which a given connection_id should live in the time-wait
29// state.
30int64 FLAGS_quic_time_wait_list_seconds = 5;
31
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 the
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.
37//
38// Maximum number of connections on the time-wait list. A negative value implies
39// no configured limit.
40int64 FLAGS_quic_time_wait_list_max_connections = 50000;
41
rtennetib346cb02015-03-25 19:50:0642// If true, use the peer's receive buffer size to set the max CWND used by the
43// send algorithms.
44bool FLAGS_quic_limit_max_cwnd_to_receive_buffer = true;
rtennetie0ee6eb2015-05-01 00:55:0945
46// Enables server-side support for QUIC stateless rejects.
47bool FLAGS_enable_quic_stateless_reject_support = false;