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 bool FLAGS_quic_allow_oversized_packets_for_test = false; | 7 bool FLAGS_quic_allow_oversized_packets_for_test = false; |
8 | 8 |
9 // When true, the use time based loss detection instead of nack. | 9 // When true, the use time based loss detection instead of nack. |
10 bool FLAGS_quic_use_time_loss_detection = false; | 10 bool FLAGS_quic_use_time_loss_detection = false; |
(...skipping 10 matching lines...) Expand all Loading... |
21 // must also request FEC protection for the server to use FEC. | 21 // must also request FEC protection for the server to use FEC. |
22 bool FLAGS_enable_quic_fec = false; | 22 bool FLAGS_enable_quic_fec = false; |
23 | 23 |
24 // When true, defaults to BBR congestion control instead of Cubic. | 24 // When true, defaults to BBR congestion control instead of Cubic. |
25 bool FLAGS_quic_use_bbr_congestion_control = false; | 25 bool FLAGS_quic_use_bbr_congestion_control = false; |
26 | 26 |
27 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC | 27 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC |
28 // connection options. | 28 // connection options. |
29 bool FLAGS_quic_allow_bbr = false; | 29 bool FLAGS_quic_allow_bbr = false; |
30 | 30 |
31 // If true, truncate QUIC connection IDs if the client requests it. | |
32 bool FLAGS_allow_truncated_connection_ids_for_quic = true; | |
33 | |
34 // Do not flip this flag. jokulik plans more testing and additional monitoring | 31 // Do not flip this flag. jokulik plans more testing and additional monitoring |
35 // before the flag can go the auto-flip process. | 32 // before the flag can go the auto-flip process. |
36 // | 33 // |
37 // If true, record the timestamp for the last sent new packet before the call to | 34 // If true, record the timestamp for the last sent new packet before the call to |
38 // WritePacket, rather than after in QUIC. | 35 // WritePacket, rather than after in QUIC. |
39 bool FLAGS_quic_record_send_time_before_write = false; | 36 bool FLAGS_quic_record_send_time_before_write = false; |
40 | 37 |
41 // If true, enables the QUIC bandwidth resumption experiment (triggered by | 38 // If true, enables the QUIC bandwidth resumption experiment (triggered by |
42 // Chrome/Finch). | 39 // Chrome/Finch). |
43 bool FLAGS_quic_enable_bandwidth_resumption_experiment = true; | 40 bool FLAGS_quic_enable_bandwidth_resumption_experiment = true; |
(...skipping 20 matching lines...) Expand all Loading... |
64 // If true, an attempt to send an empty data string with no FIN will return | 61 // If true, an attempt to send an empty data string with no FIN will return |
65 // early, and not create a frame. | 62 // early, and not create a frame. |
66 bool FLAGS_quic_empty_data_no_fin_early_return = true; | 63 bool FLAGS_quic_empty_data_no_fin_early_return = true; |
67 | 64 |
68 // If true, if min RTT and/or SRTT have not yet been set then initial RTT is | 65 // If true, if min RTT and/or SRTT have not yet been set then initial RTT is |
69 // used to initialize them in a call to QuicConnection::GetStats. | 66 // used to initialize them in a call to QuicConnection::GetStats. |
70 bool FLAGS_quic_use_initial_rtt_for_stats = true; | 67 bool FLAGS_quic_use_initial_rtt_for_stats = true; |
71 | 68 |
72 // If true, uses the last sent packet for the RTO timer instead of the earliest. | 69 // If true, uses the last sent packet for the RTO timer instead of the earliest. |
73 bool FLAGS_quic_rto_uses_last_sent = true; | 70 bool FLAGS_quic_rto_uses_last_sent = true; |
| 71 |
| 72 // If true, attach QuicAckNotifiers to packets rather than individual stream |
| 73 // frames. |
| 74 bool FLAGS_quic_attach_ack_notifiers_to_packets = true; |
OLD | NEW |