blob: ae57199b924fd40c660342c59a7c82cfc49fee51 [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
7// TODO(rtenneti): Remove this.
8// Do not flip this flag until the flakiness of the
9// net/tools/quic/end_to_end_test is fixed.
10// If true, then QUIC connections will track the retransmission history of a
11// packet so that an ack of a previous transmission will ack the data of all
12// other transmissions.
13bool FLAGS_track_retransmission_history = false;
14
[email protected]9bb57c72014-03-31 20:36:0415bool FLAGS_quic_allow_oversized_packets_for_test = false;
[email protected]6d9ca3b2014-05-13 07:44:2216
[email protected]c5cc9bd2014-03-31 23:17:1417// When true, the use time based loss detection instead of nack.
18bool FLAGS_quic_use_time_loss_detection = false;
[email protected]6d9ca3b2014-05-13 07:44:2219
[email protected]19886aaf2014-06-19 23:03:1820// If true, it will return as soon as an error is detected while validating
21// CHLO.
22bool FLAGS_use_early_return_when_verifying_chlo = true;
23
24// If true, QUIC crypto reject message will include the reasons for rejection.
25bool FLAGS_send_quic_crypto_reject_reason = false;
[email protected]cc1aa272014-06-30 19:48:2226
27// If true, QUIC connections will support FEC protection of data while sending
28// packets, to reduce latency of data delivery to the application. The client
29// must also request FEC protection for the server to use FEC.
30bool FLAGS_enable_quic_fec = false;
[email protected]9693157b2014-08-08 11:13:4931
[email protected]672631c2014-08-16 06:11:4532// When true, defaults to BBR congestion control instead of Cubic.
33bool FLAGS_quic_use_bbr_congestion_control = false;
rtenneti31e9fd62014-09-16 05:22:1534
rtenneti31e9fd62014-09-16 05:22:1535// If true, the server will accept slightly more streams than the negotiated
36// limit.
37bool FLAGS_quic_allow_more_open_streams = false;
rtennetia4dcff92014-09-29 18:16:0838
39// If true, then QUIC connections will only timeout when an alarm fires, never
40// when setting a timeout.
41bool FLAGS_quic_timeouts_only_from_alarms = true;
rtennetib5512bb2014-09-29 19:17:1542
43// If true, then QUIC connections will set both idle and overall timeouts in a
44// single method.
rch74ebb862014-10-24 18:37:0545bool FLAGS_quic_unified_timeouts = true;
rtenneti93bce7ece2014-10-13 22:38:4146
rtenneti6afc6f42014-10-21 02:15:1547// If true, QUIC will be more resilliant to junk packets with valid connection
48// IDs.
49bool FLAGS_quic_drop_junk_packets = true;
rtenneti08b014382014-10-29 14:03:1950
51// If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC
52// connection options.
53bool FLAGS_quic_allow_bbr = false;
rtenneti23186682014-10-30 01:49:3354
55// If true, truncate QUIC connection IDs if the client requests it.
56bool FLAGS_allow_truncated_connection_ids_for_quic = false;
57
58// If true, close the connection when there are too many outstanding QUIC
59// packets in the sent or received packet managers.
60bool FLAGS_quic_too_many_outstanding_packets = false;