| 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 19 matching lines...) Expand all Loading... |
| 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 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 |
| 36 // connection options. | 36 // connection options. |
| 37 bool FLAGS_quic_allow_bbr = false; | 37 bool FLAGS_quic_allow_bbr = false; |
| 38 | 38 |
| 39 // If true, truncate QUIC connection IDs if the client requests it. | 39 // If true, truncate QUIC connection IDs if the client requests it. |
| 40 bool FLAGS_allow_truncated_connection_ids_for_quic = false; | 40 bool FLAGS_allow_truncated_connection_ids_for_quic = true; |
| 41 | 41 |
| 42 // Do not flip this flag. jokulik plans more testing and additional monitoring | 42 // Do not flip this flag. jokulik plans more testing and additional monitoring |
| 43 // before the flag can go the auto-flip process. | 43 // before the flag can go the auto-flip process. |
| 44 // | 44 // |
| 45 // If true, record the timestamp for the last sent new packet before the call to | 45 // If true, record the timestamp for the last sent new packet before the call to |
| 46 // WritePacket, rather than after in QUIC. | 46 // WritePacket, rather than after in QUIC. |
| 47 bool FLAGS_quic_record_send_time_before_write = false; | 47 bool FLAGS_quic_record_send_time_before_write = false; |
| 48 | 48 |
| 49 // If true, enables the QUIC bandwidth resumption experiment (triggered by | 49 // If true, enables the QUIC bandwidth resumption experiment (triggered by |
| 50 // Chrome/Finch). | 50 // Chrome/Finch). |
| (...skipping 18 matching lines...) Expand all Loading... |
| 69 // store multiple addresses. | 69 // store multiple addresses. |
| 70 bool FLAGS_quic_use_multiple_address_in_source_tokens = false; | 70 bool FLAGS_quic_use_multiple_address_in_source_tokens = false; |
| 71 | 71 |
| 72 // If true, an attempt to send an empty data string with no FIN will return | 72 // If true, an attempt to send an empty data string with no FIN will return |
| 73 // early, and not create a frame. | 73 // early, and not create a frame. |
| 74 bool FLAGS_quic_empty_data_no_fin_early_return = true; | 74 bool FLAGS_quic_empty_data_no_fin_early_return = true; |
| 75 | 75 |
| 76 // If true, if min RTT and/or SRTT have not yet been set then initial RTT is | 76 // If true, if min RTT and/or SRTT have not yet been set then initial RTT is |
| 77 // used to initialize them in a call to QuicConnection::GetStats. | 77 // used to initialize them in a call to QuicConnection::GetStats. |
| 78 bool FLAGS_quic_use_initial_rtt_for_stats = true; | 78 bool FLAGS_quic_use_initial_rtt_for_stats = true; |
| OLD | NEW |