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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 105 |
106 // If true, treat timestamps from SO_TIMESTAMPING as QuicWallTimes rather | 106 // If true, treat timestamps from SO_TIMESTAMPING as QuicWallTimes rather |
107 // than QuicTimes. | 107 // than QuicTimes. |
108 bool FLAGS_quic_socket_walltimestamps = true; | 108 bool FLAGS_quic_socket_walltimestamps = true; |
109 | 109 |
110 // If true, default to immediate forward secure once established on the | 110 // If true, default to immediate forward secure once established on the |
111 // server side, and the IPFS connection option disables this instead of | 111 // server side, and the IPFS connection option disables this instead of |
112 // enabling it. | 112 // enabling it. |
113 bool FLAGS_quic_default_immediate_forward_secure = true; | 113 bool FLAGS_quic_default_immediate_forward_secure = true; |
114 | 114 |
115 // If true, disables support for QUIC version 29 and earlier. | |
116 bool FLAGS_quic_disable_pre_30 = true; | |
117 | |
118 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the | 115 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the |
119 // connection. | 116 // connection. |
120 bool FLAGS_quic_respect_http2_settings_frame = true; | 117 bool FLAGS_quic_respect_http2_settings_frame = true; |
121 | 118 |
122 // Do not use a QuicAckListener in order to confirm a larger Path MTU. | 119 // Do not use a QuicAckListener in order to confirm a larger Path MTU. |
123 bool FLAGS_quic_no_mtu_discovery_ack_listener = true; | 120 bool FLAGS_quic_no_mtu_discovery_ack_listener = true; |
124 | 121 |
125 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no | 122 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no |
126 // longer necessary. | 123 // longer necessary. |
127 bool FLAGS_quic_simple_packet_number_length = true; | 124 bool FLAGS_quic_simple_packet_number_length = true; |
(...skipping 21 matching lines...) Expand all Loading... |
149 // If true, use async codepaths to invoke ProofSource::GetProof. | 146 // If true, use async codepaths to invoke ProofSource::GetProof. |
150 bool FLAGS_enable_async_get_proof = false; | 147 bool FLAGS_enable_async_get_proof = false; |
151 | 148 |
152 // If true, neuter null encrypted packets before sending the next handshake | 149 // If true, neuter null encrypted packets before sending the next handshake |
153 // message. | 150 // message. |
154 bool FLAGS_quic_neuter_unencrypted_when_sending = false; | 151 bool FLAGS_quic_neuter_unencrypted_when_sending = false; |
155 | 152 |
156 // If true, QuicAlarm::Update will call a faster UpdateImpl implementation | 153 // If true, QuicAlarm::Update will call a faster UpdateImpl implementation |
157 // instead of canceling and reregistering the alarm. | 154 // instead of canceling and reregistering the alarm. |
158 bool FLAGS_quic_change_alarms_efficiently = false; | 155 bool FLAGS_quic_change_alarms_efficiently = false; |
OLD | NEW |