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, 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 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 // If true, QUIC connections can do bandwidth resumption with an initial window | 46 // If true, QUIC connections can do bandwidth resumption with an initial window |
47 // of < 10 packets. | 47 // of < 10 packets. |
48 QUIC_FLAG(bool, FLAGS_quic_no_lower_bw_resumption_limit, true) | 48 QUIC_FLAG(bool, FLAGS_quic_no_lower_bw_resumption_limit, true) |
49 | 49 |
50 // If true, QUIC public reset packets will have the \"pre-v33\" public header | 50 // If true, QUIC public reset packets will have the \"pre-v33\" public header |
51 // flags. | 51 // flags. |
52 QUIC_FLAG(bool, FLAGS_quic_use_old_public_reset_packets, true) | 52 QUIC_FLAG(bool, FLAGS_quic_use_old_public_reset_packets, true) |
53 | 53 |
54 // If true, QUIC will use cheap stateless rejects without creating a full | 54 // If true, QUIC will use cheap stateless rejects without creating a full |
55 // connection. | 55 // connection. |
56 QUIC_FLAG(bool, FLAGS_quic_use_cheap_stateless_rejects, false) | 56 QUIC_FLAG(bool, FLAGS_quic_use_cheap_stateless_rejects, true) |
57 | 57 |
58 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the | 58 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the |
59 // connection. | 59 // connection. |
60 QUIC_FLAG(bool, FLAGS_quic_respect_http2_settings_frame, true) | 60 QUIC_FLAG(bool, FLAGS_quic_respect_http2_settings_frame, true) |
61 | 61 |
62 // If true, enables QUIC_VERSION_35. | 62 // If true, enables QUIC_VERSION_35. |
63 QUIC_FLAG(bool, FLAGS_quic_enable_version_35, true) | 63 QUIC_FLAG(bool, FLAGS_quic_enable_version_35, true) |
64 | 64 |
65 // If true, re-enables QUIC_VERSION_36. | 65 // If true, re-enables QUIC_VERSION_36. |
66 QUIC_FLAG(bool, FLAGS_quic_enable_version_36_v2, true) | 66 QUIC_FLAG(bool, FLAGS_quic_enable_version_36_v2, true) |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 // If true, release QuicCryptoStream\'s read buffer when stream are less | 141 // If true, release QuicCryptoStream\'s read buffer when stream are less |
142 // frequently used. | 142 // frequently used. |
143 QUIC_FLAG(bool, FLAGS_quic_release_crypto_stream_buffer, false) | 143 QUIC_FLAG(bool, FLAGS_quic_release_crypto_stream_buffer, false) |
144 | 144 |
145 // Use a more conservative backoff of 2x instead of 1.5x for handshake | 145 // Use a more conservative backoff of 2x instead of 1.5x for handshake |
146 // retransmissions, as well as a larger minimum. | 146 // retransmissions, as well as a larger minimum. |
147 QUIC_FLAG(bool, FLAGS_quic_conservative_handshake_retransmits, true) | 147 QUIC_FLAG(bool, FLAGS_quic_conservative_handshake_retransmits, true) |
148 | 148 |
149 // If true, buffer packets while parsing public headers instead of parsing down | 149 // If true, buffer packets while parsing public headers instead of parsing down |
150 // if CHLO is already buffered. | 150 // if CHLO is already buffered. |
151 QUIC_FLAG(bool, FLAGS_quic_buffer_packets_after_chlo, false); | 151 QUIC_FLAG(bool, FLAGS_quic_buffer_packets_after_chlo, false) |
152 | 152 |
153 // Previously QUIC didn't register a packet as received until it was fully | 153 // Previously QUIC didn't register a packet as received until it was fully |
154 // processed, but now that flow control is implemented, it can be received once | 154 // processed, but now that flow control is implemented, it can be received once |
155 // decrypted. | 155 // decrypted. |
156 QUIC_FLAG(bool, FLAGS_quic_receive_packet_once_decrypted, false); | 156 QUIC_FLAG(bool, FLAGS_quic_receive_packet_once_decrypted, false) |
OLD | NEW |