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 | 10 // If true, it will return as soon as an error is detected while validating |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 // connection. | 83 // connection. |
84 QUIC_FLAG(bool, FLAGS_quic_respect_http2_settings_frame, true) | 84 QUIC_FLAG(bool, FLAGS_quic_respect_http2_settings_frame, true) |
85 | 85 |
86 // If true, enables QUIC_VERSION_35. | 86 // If true, enables QUIC_VERSION_35. |
87 QUIC_FLAG(bool, FLAGS_quic_enable_version_35, true) | 87 QUIC_FLAG(bool, FLAGS_quic_enable_version_35, true) |
88 | 88 |
89 // If true, re-enables QUIC_VERSION_36. | 89 // If true, re-enables QUIC_VERSION_36. |
90 QUIC_FLAG(bool, FLAGS_quic_enable_version_36, true) | 90 QUIC_FLAG(bool, FLAGS_quic_enable_version_36, true) |
91 | 91 |
92 // If true, enables QUIC_VERSION_36. | 92 // If true, enables QUIC_VERSION_36. |
93 QUIC_FLAG(bool, FLAGS_quic_enable_version_36_v2, false) | 93 QUIC_FLAG(bool, FLAGS_quic_enable_version_36_v2, true) |
94 | 94 |
95 // If true, use async codepaths to invoke ProofSource::GetProof. | 95 // If true, use async codepaths to invoke ProofSource::GetProof. |
96 QUIC_FLAG(bool, FLAGS_enable_async_get_proof, false) | 96 QUIC_FLAG(bool, FLAGS_enable_async_get_proof, false) |
97 | 97 |
98 // If true, QuicAlarm::Update will call a faster UpdateImpl implementation | 98 // If true, QuicAlarm::Update will call a faster UpdateImpl implementation |
99 // instead of canceling and reregistering the alarm. | 99 // instead of canceling and reregistering the alarm. |
100 QUIC_FLAG(bool, FLAGS_quic_change_alarms_efficiently, true) | 100 QUIC_FLAG(bool, FLAGS_quic_change_alarms_efficiently, true) |
101 | 101 |
102 // If true, requires handshake confirmations for all QUIC handshakes with | 102 // If true, requires handshake confirmations for all QUIC handshakes with |
103 // versions less than 33. | 103 // versions less than 33. |
(...skipping 18 matching lines...) Expand all Loading... |
122 // If true, close connection with QUIC_TOO_MANY_FRAME_GAPS error when number of | 122 // If true, close connection with QUIC_TOO_MANY_FRAME_GAPS error when number of |
123 // gaps in QuicStreamSequenceBuffer exceeds allowed limit. | 123 // gaps in QuicStreamSequenceBuffer exceeds allowed limit. |
124 QUIC_FLAG(bool, FLAGS_quic_limit_frame_gaps_in_buffer, true) | 124 QUIC_FLAG(bool, FLAGS_quic_limit_frame_gaps_in_buffer, true) |
125 | 125 |
126 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in public | 126 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in public |
127 // flag. | 127 // flag. |
128 QUIC_FLAG(bool, FLAGS_quic_remove_v33_hacks, true) | 128 QUIC_FLAG(bool, FLAGS_quic_remove_v33_hacks, true) |
129 | 129 |
130 // If true, use the CHLO packet size, not message size when determining how | 130 // If true, use the CHLO packet size, not message size when determining how |
131 // large a REJ can be. | 131 // large a REJ can be. |
132 QUIC_FLAG(bool, FLAGS_quic_use_chlo_packet_size, false) | 132 QUIC_FLAG(bool, FLAGS_quic_use_chlo_packet_size, true) |
133 | 133 |
134 // If true, defer creation of new connection till its CHLO arrives. | 134 // If true, defer creation of new connection till its CHLO arrives. |
135 QUIC_FLAG(bool, FLAGS_quic_buffer_packet_till_chlo, false) | 135 QUIC_FLAG(bool, FLAGS_quic_buffer_packet_till_chlo, true) |
136 | 136 |
137 // If true, the connection will check whether it is application-limited, and | 137 // If true, the connection will check whether it is application-limited, and |
138 // notify the congestion controller about it. | 138 // notify the congestion controller about it. |
139 QUIC_FLAG(bool, FLAGS_quic_enable_app_limited_check, true) | 139 QUIC_FLAG(bool, FLAGS_quic_enable_app_limited_check, true) |
140 | 140 |
141 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no | 141 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no |
142 // longer necessary. | 142 // longer necessary. |
143 QUIC_FLAG(bool, FLAGS_quic_simple_packet_number_length_2, true) | 143 QUIC_FLAG(bool, FLAGS_quic_simple_packet_number_length_2, true) |
144 | 144 |
145 // If true, disables QUIC version less than 32. | 145 // If true, disables QUIC version less than 32. |
(...skipping 20 matching lines...) Expand all Loading... |
166 QUIC_FLAG(bool, FLAGS_quic_better_last_send_for_timeout, true) | 166 QUIC_FLAG(bool, FLAGS_quic_better_last_send_for_timeout, true) |
167 | 167 |
168 // If true, send an explicit TTL in QUIC REJ messages to mitigate client clock | 168 // If true, send an explicit TTL in QUIC REJ messages to mitigate client clock |
169 // skew. | 169 // skew. |
170 QUIC_FLAG(bool, FLAGS_quic_send_scfg_ttl, true) | 170 QUIC_FLAG(bool, FLAGS_quic_send_scfg_ttl, true) |
171 | 171 |
172 // If true, only open limited number of quic sessions per epoll event. Leave the | 172 // If true, only open limited number of quic sessions per epoll event. Leave the |
173 // rest to next event. This flag can be turned on only if | 173 // rest to next event. This flag can be turned on only if |
174 // --quic_buffer_packet_till_chlo is true. | 174 // --quic_buffer_packet_till_chlo is true. |
175 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, false) | 175 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, false) |
OLD | NEW |