Home | History | Annotate | Download | only in quic
      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.
     13 bool FLAGS_track_retransmission_history = false;
     14 
     15 bool FLAGS_quic_allow_oversized_packets_for_test = false;
     16 
     17 // When true, the use time based loss detection instead of nack.
     18 bool FLAGS_quic_use_time_loss_detection = false;
     19 
     20 // If true, it will return as soon as an error is detected while validating
     21 // CHLO.
     22 bool FLAGS_use_early_return_when_verifying_chlo = true;
     23 
     24 // If true, QUIC crypto reject message will include the reasons for rejection.
     25 bool FLAGS_send_quic_crypto_reject_reason = false;
     26 
     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.
     30 bool FLAGS_enable_quic_fec = false;
     31 
     32 // If true, a QUIC connection with too many unfinished streams will be closed.
     33 bool FLAGS_close_quic_connection_unfinished_streams_2 = false;
     34 
     35 // When true, defaults to BBR congestion control instead of Cubic.
     36 bool FLAGS_quic_use_bbr_congestion_control = false;
     37 
     38 // If true, only times out QUIC connections when there has been network
     39 // activity; packets sent or received.
     40 bool FLAGS_quic_timeouts_require_activity = false;
     41 
     42 // If true, the server will accept slightly more streams than the negotiated
     43 // limit.
     44 bool FLAGS_quic_allow_more_open_streams = false;
     45