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 // This file intentionally does not have header guards, it's included | 5 // This file intentionally does not have header guards, it's included |
6 // inside a macro to generate values. | 6 // inside a macro to generate values. |
7 | 7 |
8 // This file contains the list of QUIC protocol flags. | 8 // This file contains the list of QUIC protocol flags. |
9 | 9 |
10 // If true, it will return as soon as an error is detected while validating | |
11 // CHLO. | |
12 QUIC_FLAG(bool, FLAGS_use_early_return_when_verifying_chlo, true) | |
13 | |
14 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC | 10 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC |
15 // connection options. | 11 // connection options. |
16 QUIC_FLAG(bool, FLAGS_quic_allow_bbr, false) | 12 QUIC_FLAG(bool, FLAGS_quic_allow_bbr, false) |
17 | 13 |
18 // Time period for which a given connection_id should live in the time-wait | 14 // Time period for which a given connection_id should live in the time-wait |
19 // state. | 15 // state. |
20 QUIC_FLAG(int64_t, FLAGS_quic_time_wait_list_seconds, 200) | 16 QUIC_FLAG(int64_t, FLAGS_quic_time_wait_list_seconds, 200) |
21 | 17 |
22 // Currently, this number is quite conservative. The max QPS limit for an | 18 // Currently, this number is quite conservative. The max QPS limit for an |
23 // individual server silo is currently set to 1000 qps, though the actual max | 19 // individual server silo is currently set to 1000 qps, though the actual max |
(...skipping 29 matching lines...) Expand all Loading... |
53 // Net.QuicSession.HeadersHOLBlockedTime. | 49 // Net.QuicSession.HeadersHOLBlockedTime. |
54 QUIC_FLAG(bool, FLAGS_quic_measure_headers_hol_blocking_time, true) | 50 QUIC_FLAG(bool, FLAGS_quic_measure_headers_hol_blocking_time, true) |
55 | 51 |
56 // If true, disable pacing in QUIC. | 52 // If true, disable pacing in QUIC. |
57 QUIC_FLAG(bool, FLAGS_quic_disable_pacing_for_perf_tests, false) | 53 QUIC_FLAG(bool, FLAGS_quic_disable_pacing_for_perf_tests, false) |
58 | 54 |
59 // If true, QUIC connections can do bandwidth resumption with an initial window | 55 // If true, QUIC connections can do bandwidth resumption with an initial window |
60 // of < 10 packets. | 56 // of < 10 packets. |
61 QUIC_FLAG(bool, FLAGS_quic_no_lower_bw_resumption_limit, true) | 57 QUIC_FLAG(bool, FLAGS_quic_no_lower_bw_resumption_limit, true) |
62 | 58 |
63 // Only set one alarm for sending at once, either the send alarm or | |
64 // retransmission alarm. Disabled because it breaks QUIC time loss detection. | |
65 QUIC_FLAG(bool, FLAGS_quic_only_one_sending_alarm, false) | |
66 | |
67 // If true, QUIC public reset packets will have the \"pre-v33\" public header | 59 // If true, QUIC public reset packets will have the \"pre-v33\" public header |
68 // flags. | 60 // flags. |
69 QUIC_FLAG(bool, FLAGS_quic_use_old_public_reset_packets, true) | 61 QUIC_FLAG(bool, FLAGS_quic_use_old_public_reset_packets, true) |
70 | 62 |
71 // If true, QUIC will use cheap stateless rejects without creating a full | 63 // If true, QUIC will use cheap stateless rejects without creating a full |
72 // connection. | 64 // connection. |
73 QUIC_FLAG(bool, FLAGS_quic_use_cheap_stateless_rejects, false) | 65 QUIC_FLAG(bool, FLAGS_quic_use_cheap_stateless_rejects, false) |
74 | 66 |
75 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the | 67 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the |
76 // connection. | 68 // connection. |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 | 121 |
130 // If true, the connection will check whether it is application-limited, and | 122 // If true, the connection will check whether it is application-limited, and |
131 // notify the congestion controller about it. | 123 // notify the congestion controller about it. |
132 QUIC_FLAG(bool, FLAGS_quic_enable_app_limited_check, true) | 124 QUIC_FLAG(bool, FLAGS_quic_enable_app_limited_check, true) |
133 | 125 |
134 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no | 126 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no |
135 // longer necessary. | 127 // longer necessary. |
136 QUIC_FLAG(bool, FLAGS_quic_simple_packet_number_length_2, true) | 128 QUIC_FLAG(bool, FLAGS_quic_simple_packet_number_length_2, true) |
137 | 129 |
138 // If true, disables QUIC version less than 32. | 130 // If true, disables QUIC version less than 32. |
139 QUIC_FLAG(bool, FLAGS_quic_disable_pre_32, false) | 131 QUIC_FLAG(bool, FLAGS_quic_disable_pre_32, true) |
140 | 132 |
141 // If true, QUIC will enforce the MTU limit for connections that may require a | 133 // If true, QUIC will enforce the MTU limit for connections that may require a |
142 // small MTU. | 134 // small MTU. |
143 QUIC_FLAG(bool, FLAGS_quic_enforce_mtu_limit, false) | 135 QUIC_FLAG(bool, FLAGS_quic_enforce_mtu_limit, false) |
144 | 136 |
145 // Disable MTU probing if MTU probe causes ERR_MSG_TOO_BIG instead of aborting | 137 // Disable MTU probing if MTU probe causes ERR_MSG_TOO_BIG instead of aborting |
146 // the connection. | 138 // the connection. |
147 QUIC_FLAG(bool, FLAGS_graceful_emsgsize_on_mtu_probe, true) | 139 QUIC_FLAG(bool, FLAGS_graceful_emsgsize_on_mtu_probe, true) |
148 | 140 |
149 // If true, do not force sending ack when connection is closed because of | 141 // If true, do not force sending ack when connection is closed because of |
(...skipping 12 matching lines...) Expand all Loading... |
162 // skew. | 154 // skew. |
163 QUIC_FLAG(bool, FLAGS_quic_send_scfg_ttl, true) | 155 QUIC_FLAG(bool, FLAGS_quic_send_scfg_ttl, true) |
164 | 156 |
165 // If true, only open limited number of quic sessions per epoll event. Leave the | 157 // If true, only open limited number of quic sessions per epoll event. Leave the |
166 // rest to next event. This flag can be turned on only if | 158 // rest to next event. This flag can be turned on only if |
167 // --quic_buffer_packet_till_chlo is true. | 159 // --quic_buffer_packet_till_chlo is true. |
168 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, false) | 160 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, false) |
169 | 161 |
170 // If true, disables QUIC version less than 34. | 162 // If true, disables QUIC version less than 34. |
171 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) | 163 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) |
OLD | NEW |