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 25 matching lines...) Expand all Loading... |
36 QUIC_FLAG(bool, FLAGS_quic_enable_multipath, false) | 36 QUIC_FLAG(bool, FLAGS_quic_enable_multipath, false) |
37 | 37 |
38 // If true, require handshake confirmation for QUIC connections, functionally | 38 // If true, require handshake confirmation for QUIC connections, functionally |
39 // disabling 0-rtt handshakes. | 39 // disabling 0-rtt handshakes. |
40 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. | 40 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. |
41 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation, false) | 41 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation, false) |
42 | 42 |
43 // If true, Cubic's epoch is shifted when the sender is application-limited. | 43 // If true, Cubic's epoch is shifted when the sender is application-limited. |
44 QUIC_FLAG(bool, FLAGS_shift_quic_cubic_epoch_when_app_limited, true) | 44 QUIC_FLAG(bool, FLAGS_shift_quic_cubic_epoch_when_app_limited, true) |
45 | 45 |
46 // If true, QUIC will measure head of line (HOL) blocking due between | |
47 // streams due to packet losses on the headers stream. The | |
48 // measurements will be surfaced via UMA histogram | |
49 // Net.QuicSession.HeadersHOLBlockedTime. | |
50 QUIC_FLAG(bool, FLAGS_quic_measure_headers_hol_blocking_time, true) | |
51 | |
52 // If true, disable pacing in QUIC. | 46 // If true, disable pacing in QUIC. |
53 QUIC_FLAG(bool, FLAGS_quic_disable_pacing_for_perf_tests, false) | 47 QUIC_FLAG(bool, FLAGS_quic_disable_pacing_for_perf_tests, false) |
54 | 48 |
55 // If true, QUIC connections can do bandwidth resumption with an initial window | 49 // If true, QUIC connections can do bandwidth resumption with an initial window |
56 // of < 10 packets. | 50 // of < 10 packets. |
57 QUIC_FLAG(bool, FLAGS_quic_no_lower_bw_resumption_limit, true) | 51 QUIC_FLAG(bool, FLAGS_quic_no_lower_bw_resumption_limit, true) |
58 | 52 |
59 // If true, QUIC public reset packets will have the \"pre-v33\" public header | 53 // If true, QUIC public reset packets will have the \"pre-v33\" public header |
60 // flags. | 54 // flags. |
61 QUIC_FLAG(bool, FLAGS_quic_use_old_public_reset_packets, true) | 55 QUIC_FLAG(bool, FLAGS_quic_use_old_public_reset_packets, true) |
62 | 56 |
63 // If true, QUIC will use cheap stateless rejects without creating a full | 57 // If true, QUIC will use cheap stateless rejects without creating a full |
64 // connection. | 58 // connection. |
65 QUIC_FLAG(bool, FLAGS_quic_use_cheap_stateless_rejects, false) | 59 QUIC_FLAG(bool, FLAGS_quic_use_cheap_stateless_rejects, false) |
66 | 60 |
67 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the | 61 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the |
68 // connection. | 62 // connection. |
69 QUIC_FLAG(bool, FLAGS_quic_respect_http2_settings_frame, true) | 63 QUIC_FLAG(bool, FLAGS_quic_respect_http2_settings_frame, true) |
70 | 64 |
71 // If true, enables QUIC_VERSION_35. | 65 // If true, enables QUIC_VERSION_35. |
72 QUIC_FLAG(bool, FLAGS_quic_enable_version_35, true) | 66 QUIC_FLAG(bool, FLAGS_quic_enable_version_35, true) |
73 | 67 |
74 // If true, re-enables QUIC_VERSION_36. | 68 // If true, re-enables QUIC_VERSION_36. |
75 QUIC_FLAG(bool, FLAGS_quic_enable_version_36, true) | |
76 | |
77 // If true, enables QUIC_VERSION_36. | |
78 QUIC_FLAG(bool, FLAGS_quic_enable_version_36_v2, true) | 69 QUIC_FLAG(bool, FLAGS_quic_enable_version_36_v2, true) |
79 | 70 |
80 // If true, use async codepaths to invoke ProofSource::GetProof. | 71 // If true, use async codepaths to invoke ProofSource::GetProof. |
81 QUIC_FLAG(bool, FLAGS_enable_async_get_proof, false) | 72 QUIC_FLAG(bool, FLAGS_enable_async_get_proof, false) |
82 | 73 |
83 // If true, requires handshake confirmations for all QUIC handshakes with | 74 // If true, requires handshake confirmations for all QUIC handshakes with |
84 // versions less than 33. | 75 // versions less than 33. |
85 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation_pre33, false) | 76 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation_pre33, false) |
86 | 77 |
87 // If true, close QUIC connection explicitly on write error due to packet being | 78 // If true, close QUIC connection explicitly on write error due to packet being |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, true) | 131 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, true) |
141 | 132 |
142 // If true, allow server address change if it is because of mapped ipv4 address. | 133 // If true, allow server address change if it is because of mapped ipv4 address. |
143 QUIC_FLAG(bool, FLAGS_quic_allow_server_address_change_for_mapped_ipv4, true) | 134 QUIC_FLAG(bool, FLAGS_quic_allow_server_address_change_for_mapped_ipv4, true) |
144 | 135 |
145 // If true, disables QUIC version less than 34. | 136 // If true, disables QUIC version less than 34. |
146 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) | 137 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) |
147 | 138 |
148 // When true, decode the packet number from the largest received packet, rather | 139 // When true, decode the packet number from the largest received packet, rather |
149 // than the most recent. | 140 // than the most recent. |
150 QUIC_FLAG(bool, FLAGS_quic_packet_numbers_largest_received, false) | 141 QUIC_FLAG(bool, FLAGS_quic_packet_numbers_largest_received, true) |
OLD | NEW |