| 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 bool FLAGS_quic_no_mtu_discovery_ack_listener = true; | 105 bool FLAGS_quic_no_mtu_discovery_ack_listener = true; |
| 106 | 106 |
| 107 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no | 107 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no |
| 108 // longer necessary. | 108 // longer necessary. |
| 109 bool FLAGS_quic_simple_packet_number_length = true; | 109 bool FLAGS_quic_simple_packet_number_length = true; |
| 110 | 110 |
| 111 // If true, enables QUIC_VERSION_35. | 111 // If true, enables QUIC_VERSION_35. |
| 112 bool FLAGS_quic_enable_version_35 = true; | 112 bool FLAGS_quic_enable_version_35 = true; |
| 113 | 113 |
| 114 // If true, enables QUIC_VERSION_36. | 114 // If true, enables QUIC_VERSION_36. |
| 115 bool FLAGS_quic_enable_version_36 = false; | 115 bool FLAGS_quic_enable_version_36 = true; |
| 116 | 116 |
| 117 // If true, requires support for X509 certificates in QUIC CHLO PDMDs. | 117 // If true, requires support for X509 certificates in QUIC CHLO PDMDs. |
| 118 bool FLAGS_quic_require_x509 = false; | 118 bool FLAGS_quic_require_x509 = true; |
| 119 | 119 |
| 120 // If true, deprecate safeguards for b/26023400. | 120 // If true, deprecate safeguards for b/26023400. |
| 121 bool FLAGS_quic_deprecate_kfixd = false; | 121 bool FLAGS_quic_deprecate_kfixd = false; |
| 122 | 122 |
| 123 // If true, QUIC will refresh the proof for versions 31 and beyond on subsequent | 123 // If true, QUIC will refresh the proof for versions 31 and beyond on subsequent |
| 124 // CHLOs. | 124 // CHLOs. |
| 125 bool FLAGS_quic_refresh_proof = true; | 125 bool FLAGS_quic_refresh_proof = true; |
| 126 | 126 |
| 127 // If true, a connection does not migrate on an old packet even the peer address | 127 // If true, a connection does not migrate on an old packet even the peer address |
| 128 // changes. | 128 // changes. |
| 129 bool FLAGS_quic_do_not_migrate_on_old_packet = true; | 129 bool FLAGS_quic_do_not_migrate_on_old_packet = true; |
| 130 | 130 |
| 131 // If true, use async codepaths to invoke ProofSource::GetProof. | 131 // If true, use async codepaths to invoke ProofSource::GetProof. |
| 132 bool FLAGS_enable_async_get_proof = false; | 132 bool FLAGS_enable_async_get_proof = false; |
| 133 | 133 |
| 134 // If true, neuter null encrypted packets before sending the next handshake | 134 // If true, neuter null encrypted packets before sending the next handshake |
| 135 // message. | 135 // message. |
| 136 bool FLAGS_quic_neuter_unencrypted_when_sending = false; | 136 bool FLAGS_quic_neuter_unencrypted_when_sending = false; |
| 137 | 137 |
| 138 // If true, QuicAlarm::Update will call a faster UpdateImpl implementation | 138 // If true, QuicAlarm::Update will call a faster UpdateImpl implementation |
| 139 // instead of canceling and reregistering the alarm. | 139 // instead of canceling and reregistering the alarm. |
| 140 bool FLAGS_quic_change_alarms_efficiently = false; | 140 bool FLAGS_quic_change_alarms_efficiently = false; |
| OLD | NEW |