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 17 matching lines...) Expand all Loading... |
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. | 32 // If true, a QUIC connection with too many unfinished streams will be closed. |
33 bool FLAGS_close_quic_connection_unfinished_streams_2 = false; | 33 bool FLAGS_close_quic_connection_unfinished_streams_2 = false; |
34 | 34 |
35 // When true, defaults to BBR congestion control instead of Cubic. | 35 // When true, defaults to BBR congestion control instead of Cubic. |
36 bool FLAGS_quic_use_bbr_congestion_control = false; | 36 bool FLAGS_quic_use_bbr_congestion_control = false; |
37 | 37 |
38 // If true, only times out QUIC connections when there has been network | |
39 // activity; packets sent or received. | |
40 bool FLAGS_quic_timeouts_require_activity = false; | |
41 | |
42 // If true, the server will accept slightly more streams than the negotiated | 38 // If true, the server will accept slightly more streams than the negotiated |
43 // limit. | 39 // limit. |
44 bool FLAGS_quic_allow_more_open_streams = false; | 40 bool FLAGS_quic_allow_more_open_streams = false; |
| 41 |
| 42 // If true, then QUIC connections will only timeout when an alarm fires, never |
| 43 // when setting a timeout. |
| 44 bool FLAGS_quic_timeouts_only_from_alarms = true; |
OLD | NEW |