OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/quic/quic_flags.h" | 5 #include "net/quic/quic_flags.h" |
6 | 6 |
7 // TODO(rtenneti): Remove this. | 7 // TODO(rtenneti): Remove this. |
8 // Do not flip this flag until the flakiness of the | 8 // Do not flip this flag until the flakiness of the |
9 // net/tools/quic/end_to_end_test is fixed. | 9 // net/tools/quic/end_to_end_test is fixed. |
10 // If true, then QUIC connections will track the retransmission history of a | 10 // If true, then QUIC connections will track the retransmission history of a |
(...skipping 14 matching lines...) Expand all Loading... |
25 bool FLAGS_send_quic_crypto_reject_reason = false; | 25 bool FLAGS_send_quic_crypto_reject_reason = false; |
26 | 26 |
27 // If true, QUIC connections will support FEC protection of data while sending | 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 | 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. | 29 // must also request FEC protection for the server to use FEC. |
30 bool FLAGS_enable_quic_fec = false; | 30 bool FLAGS_enable_quic_fec = false; |
31 | 31 |
32 // When true, defaults to BBR congestion control instead of Cubic. | 32 // When true, defaults to BBR congestion control instead of Cubic. |
33 bool FLAGS_quic_use_bbr_congestion_control = false; | 33 bool FLAGS_quic_use_bbr_congestion_control = false; |
34 | 34 |
35 // If true, QUIC will be more resilliant to junk packets with valid connection | |
36 // IDs. | |
37 bool FLAGS_quic_drop_junk_packets = true; | |
38 | |
39 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC | 35 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC |
40 // connection options. | 36 // connection options. |
41 bool FLAGS_quic_allow_bbr = false; | 37 bool FLAGS_quic_allow_bbr = false; |
42 | 38 |
43 // If true, truncate QUIC connection IDs if the client requests it. | 39 // If true, truncate QUIC connection IDs if the client requests it. |
44 bool FLAGS_allow_truncated_connection_ids_for_quic = false; | 40 bool FLAGS_allow_truncated_connection_ids_for_quic = false; |
45 | 41 |
46 // If true, close the connection when there are too many outstanding QUIC | 42 // If true, close the connection when there are too many outstanding QUIC |
47 // packets in the sent or received packet managers. | 43 // packets in the sent or received packet managers. |
48 bool FLAGS_quic_too_many_outstanding_packets = false; | 44 bool FLAGS_quic_too_many_outstanding_packets = false; |
49 | 45 |
50 // If true, QUIC connections will delay moving to forward security until the | 46 // If true, QUIC connections will delay moving to forward security until the |
51 // client starts sending foward secure encrypted packets. | 47 // client starts sending foward secure encrypted packets. |
52 bool FLAGS_enable_quic_delay_forward_security = true; | 48 bool FLAGS_enable_quic_delay_forward_security = true; |
53 | 49 |
54 // Do not flip this flag. jokulik plans more testing and additional monitoring | 50 // Do not flip this flag. jokulik plans more testing and additional monitoring |
55 // before the flag can go the auto-flip process. | 51 // before the flag can go the auto-flip process. |
56 // | 52 // |
57 // If true, record the timestamp for the last sent new packet before the call to | 53 // If true, record the timestamp for the last sent new packet before the call to |
58 // WritePacket, rather than after in QUIC. | 54 // WritePacket, rather than after in QUIC. |
59 bool FLAGS_quic_record_send_time_before_write = false; | 55 bool FLAGS_quic_record_send_time_before_write = false; |
60 | 56 |
61 // If true, enables the QUIC bandwidth resumption experiment (triggered by | 57 // If true, enables the QUIC bandwidth resumption experiment (triggered by |
62 // Chrome/Finch). | 58 // Chrome/Finch). |
63 bool FLAGS_quic_enable_bandwidth_resumption_experiment = true; | 59 bool FLAGS_quic_enable_bandwidth_resumption_experiment = true; |
| 60 |
| 61 // If true, QUIC congestion control will be paced. If false, pacing may be |
| 62 // controlled by QUIC connection options in the config or by enabling BBR |
| 63 // congestion control. |
| 64 bool FLAGS_quic_enable_pacing = false; |
| 65 |
| 66 // If true, the silent close option will be honored. |
| 67 bool FLAGS_quic_allow_silent_close = true; |
OLD | NEW |