blob: 58980b343188f17203a4965fa7eb5c7257cd232f [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
15// Do not remove this flag until the Finch-trials described in b/11706275
16// are complete.
17// If true, QUIC connections will support the use of a pacing algorithm when
18// sending packets, in an attempt to reduce packet loss. The client must also
19// request pacing for the server to enable it.
20bool FLAGS_enable_quic_pacing = true;
21
22// Do not remove this flag until b/11792453 is marked as Fixed.
[email protected]77b5d50b2014-05-07 22:48:4823// If true, turns on connection level flow control in QUIC.
24// If this is disabled, all in flight QUIC connections talking QUIC_VERSION_19
25// or higher will timeout. New connections will be fine.
[email protected]6c576c22014-06-18 17:53:0126bool FLAGS_enable_quic_connection_flow_control_2 = true;
[email protected]77b5d50b2014-05-07 22:48:4827
[email protected]9bb57c72014-03-31 20:36:0428bool FLAGS_quic_allow_oversized_packets_for_test = false;
[email protected]6d9ca3b2014-05-13 07:44:2229
[email protected]c5cc9bd2014-03-31 23:17:1430// When true, the use time based loss detection instead of nack.
31bool FLAGS_quic_use_time_loss_detection = false;
[email protected]6d9ca3b2014-05-13 07:44:2232
[email protected]27e16d02014-05-14 21:28:0233// If true, allow peer port migration of established QUIC connections.
[email protected]6d9ca3b2014-05-13 07:44:2234bool FLAGS_quic_allow_port_migration = true;
[email protected]19886aaf2014-06-19 23:03:1835
36// If true, it will return as soon as an error is detected while validating
37// CHLO.
38bool FLAGS_use_early_return_when_verifying_chlo = true;
39
40// If true, QUIC crypto reject message will include the reasons for rejection.
41bool FLAGS_send_quic_crypto_reject_reason = false;
[email protected]cc1aa272014-06-30 19:48:2242
43// If true, QUIC connections will support FEC protection of data while sending
44// packets, to reduce latency of data delivery to the application. The client
45// must also request FEC protection for the server to use FEC.
46bool FLAGS_enable_quic_fec = false;