[email protected] | 9bb57c7 | 2014-03-31 20:36:04 | [diff] [blame] | 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 | // 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. |
| 20 | bool FLAGS_enable_quic_pacing = true; |
| 21 | |
[email protected] | 9bb57c7 | 2014-03-31 20:36:04 | [diff] [blame] | 22 | bool FLAGS_quic_allow_oversized_packets_for_test = false; |
[email protected] | 6d9ca3b | 2014-05-13 07:44:22 | [diff] [blame] | 23 | |
[email protected] | c5cc9bd | 2014-03-31 23:17:14 | [diff] [blame] | 24 | // When true, the use time based loss detection instead of nack. |
| 25 | bool FLAGS_quic_use_time_loss_detection = false; |
[email protected] | 6d9ca3b | 2014-05-13 07:44:22 | [diff] [blame] | 26 | |
[email protected] | 19886aaf | 2014-06-19 23:03:18 | [diff] [blame] | 27 | // If true, it will return as soon as an error is detected while validating |
| 28 | // CHLO. |
| 29 | bool FLAGS_use_early_return_when_verifying_chlo = true; |
| 30 | |
| 31 | // If true, QUIC crypto reject message will include the reasons for rejection. |
| 32 | bool FLAGS_send_quic_crypto_reject_reason = false; |
[email protected] | cc1aa27 | 2014-06-30 19:48:22 | [diff] [blame] | 33 | |
| 34 | // If true, QUIC connections will support FEC protection of data while sending |
| 35 | // packets, to reduce latency of data delivery to the application. The client |
| 36 | // must also request FEC protection for the server to use FEC. |
| 37 | bool FLAGS_enable_quic_fec = false; |
[email protected] | 9693157b | 2014-08-08 11:13:49 | [diff] [blame^] | 38 | |
| 39 | // If true, a QUIC connection with too many unfinished streams will be closed. |
| 40 | bool FLAGS_close_quic_connection_unfinished_streams = false; |