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 // If true, it will return as soon as an error is detected while validating | 7 // If true, it will return as soon as an error is detected while validating |
8 // CHLO. | 8 // CHLO. |
9 bool FLAGS_use_early_return_when_verifying_chlo = true; | 9 bool FLAGS_use_early_return_when_verifying_chlo = true; |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 | 39 |
40 // If true, multipath is enabled for the connection. | 40 // If true, multipath is enabled for the connection. |
41 bool FLAGS_quic_enable_multipath = false; | 41 bool FLAGS_quic_enable_multipath = false; |
42 | 42 |
43 // If true, require handshake confirmation for QUIC connections, functionally | 43 // If true, require handshake confirmation for QUIC connections, functionally |
44 // disabling 0-rtt handshakes. | 44 // disabling 0-rtt handshakes. |
45 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. | 45 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. |
46 bool FLAGS_quic_require_handshake_confirmation = false; | 46 bool FLAGS_quic_require_handshake_confirmation = false; |
47 | 47 |
48 // If true, Cubic's epoch is shifted when the sender is application-limited. | 48 // If true, Cubic's epoch is shifted when the sender is application-limited. |
49 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = false; | 49 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = true; |
50 | 50 |
51 // If true, QUIC will measure head of line (HOL) blocking due between | 51 // If true, QUIC will measure head of line (HOL) blocking due between |
52 // streams due to packet losses on the headers stream. The | 52 // streams due to packet losses on the headers stream. The |
53 // measurements will be surfaced via UMA histogram | 53 // measurements will be surfaced via UMA histogram |
54 // Net.QuicSession.HeadersHOLBlockedTime. | 54 // Net.QuicSession.HeadersHOLBlockedTime. |
55 bool FLAGS_quic_measure_headers_hol_blocking_time = true; | 55 bool FLAGS_quic_measure_headers_hol_blocking_time = true; |
56 | 56 |
57 // If true, disable pacing in QUIC. | 57 // If true, disable pacing in QUIC. |
58 bool FLAGS_quic_disable_pacing_for_perf_tests = false; | 58 bool FLAGS_quic_disable_pacing_for_perf_tests = false; |
59 | 59 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 // connection. | 145 // connection. |
146 bool FLAGS_quic_use_cheap_stateless_rejects = false; | 146 bool FLAGS_quic_use_cheap_stateless_rejects = false; |
147 | 147 |
148 // If true, treat timestamps from SO_TIMESTAMPING as QuicWallTimes rather | 148 // If true, treat timestamps from SO_TIMESTAMPING as QuicWallTimes rather |
149 // than QuicTimes. | 149 // than QuicTimes. |
150 bool FLAGS_quic_socket_walltimestamps = false; | 150 bool FLAGS_quic_socket_walltimestamps = false; |
151 | 151 |
152 // If true, default to immediate forward secure once established on the | 152 // If true, default to immediate forward secure once established on the |
153 // server side, and the IPFS connection option disables this instead of | 153 // server side, and the IPFS connection option disables this instead of |
154 // enabling it. | 154 // enabling it. |
155 bool FLAGS_quic_default_immediate_forward_secure = false; | 155 bool FLAGS_quic_default_immediate_forward_secure = true; |
156 | 156 |
157 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the | 157 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the |
158 // connection. | 158 // connection. |
159 bool FLAGS_quic_respect_http2_settings_frame = false; | 159 bool FLAGS_quic_respect_http2_settings_frame = true; |
160 | 160 |
161 // Do not use a QuicAckListener in order to confirm a larger Path MTU. | 161 // Do not use a QuicAckListener in order to confirm a larger Path MTU. |
162 bool FLAGS_quic_no_mtu_discovery_ack_listener = false; | 162 bool FLAGS_quic_no_mtu_discovery_ack_listener = false; |
163 | 163 |
164 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no | 164 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no |
165 // longer necessary. | 165 // longer necessary. |
166 bool FLAGS_quic_simple_packet_number_length = false; | 166 bool FLAGS_quic_simple_packet_number_length = false; |
OLD | NEW |