quic_flags.cc revision e5d81f57cb97b3b6b7fccc9c5610d21eb81db09d
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.
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.
23// If true, turns on stream flow control in QUIC.
24bool FLAGS_enable_quic_stream_flow_control = true;
25
26bool FLAGS_quic_allow_oversized_packets_for_test = false;
27bool FLAGS_quic_congestion_control_inter_arrival = false;
28// When true, the use time based loss detection instead of nack.
29bool FLAGS_quic_use_time_loss_detection = false;
30