| 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 11 matching lines...) Expand all Loading... |
| 22 bool FLAGS_use_early_return_when_verifying_chlo = true; | 22 bool FLAGS_use_early_return_when_verifying_chlo = true; |
| 23 | 23 |
| 24 // If true, QUIC crypto reject message will include the reasons for rejection. | 24 // If true, QUIC crypto reject message will include the reasons for rejection. |
| 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 // 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. | 32 // When true, defaults to BBR congestion control instead of Cubic. |
| 36 bool FLAGS_quic_use_bbr_congestion_control = false; | 33 bool FLAGS_quic_use_bbr_congestion_control = false; |
| 37 | 34 |
| 38 // If true, the server will accept slightly more streams than the negotiated | 35 // If true, the server will accept slightly more streams than the negotiated |
| 39 // limit. | 36 // limit. |
| 40 bool FLAGS_quic_allow_more_open_streams = false; | 37 bool FLAGS_quic_allow_more_open_streams = false; |
| 41 | 38 |
| 42 // If true, then QUIC connections will only timeout when an alarm fires, never | 39 // If true, then QUIC connections will only timeout when an alarm fires, never |
| 43 // when setting a timeout. | 40 // when setting a timeout. |
| 44 bool FLAGS_quic_timeouts_only_from_alarms = true; | 41 bool FLAGS_quic_timeouts_only_from_alarms = true; |
| 45 | 42 |
| 46 // If true, then QUIC connections will set both idle and overall timeouts in a | 43 // If true, then QUIC connections will set both idle and overall timeouts in a |
| 47 // single method. | 44 // single method. |
| 48 bool FLAGS_quic_unified_timeouts = true; | 45 bool FLAGS_quic_unified_timeouts = true; |
| 49 | 46 |
| 50 // If true, QUIC will be more resilliant to junk packets with valid connection | 47 // If true, QUIC will be more resilliant to junk packets with valid connection |
| 51 // IDs. | 48 // IDs. |
| 52 bool FLAGS_quic_drop_junk_packets = true; | 49 bool FLAGS_quic_drop_junk_packets = true; |
| 53 | 50 |
| 54 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC | 51 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC |
| 55 // connection options. | 52 // connection options. |
| 56 bool FLAGS_quic_allow_bbr = false; | 53 bool FLAGS_quic_allow_bbr = false; |
| 57 | 54 |
| 58 // If true, truncate QUIC connection IDs if the client requests it. | 55 // If true, truncate QUIC connection IDs if the client requests it. |
| 59 bool FLAGS_allow_truncated_connection_ids_for_quic = false; | 56 bool FLAGS_allow_truncated_connection_ids_for_quic = false; |
| 60 | 57 |
| 61 // If true, close the connection when there are too many outstanding QUIC | 58 // If true, close the connection when there are too many outstanding QUIC |
| 62 // packets in the sent or received packet managers. | 59 // packets in the sent or received packet managers. |
| 63 bool FLAGS_quic_too_many_outstanding_packets = false; | 60 bool FLAGS_quic_too_many_outstanding_packets = false; |
| OLD | NEW |