| 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/core/quic_flags.h" | 5 #include "net/quic/core/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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 | 99 |
| 100 // If true, enables QUIC_VERSION_36. | 100 // If true, enables QUIC_VERSION_36. |
| 101 bool FLAGS_quic_enable_version_36 = true; | 101 bool FLAGS_quic_enable_version_36 = true; |
| 102 | 102 |
| 103 // If true, requires support for X509 certificates in QUIC CHLO PDMDs. | 103 // If true, requires support for X509 certificates in QUIC CHLO PDMDs. |
| 104 bool FLAGS_quic_require_x509 = true; | 104 bool FLAGS_quic_require_x509 = true; |
| 105 | 105 |
| 106 // If true, deprecate safeguards for b/26023400. | 106 // If true, deprecate safeguards for b/26023400. |
| 107 bool FLAGS_quic_deprecate_kfixd = false; | 107 bool FLAGS_quic_deprecate_kfixd = false; |
| 108 | 108 |
| 109 // If true, a connection does not migrate on an old packet even the peer address | |
| 110 // changes. | |
| 111 bool FLAGS_quic_do_not_migrate_on_old_packet = true; | |
| 112 | |
| 113 // If true, use async codepaths to invoke ProofSource::GetProof. | 109 // If true, use async codepaths to invoke ProofSource::GetProof. |
| 114 bool FLAGS_enable_async_get_proof = false; | 110 bool FLAGS_enable_async_get_proof = false; |
| 115 | 111 |
| 116 // If true, neuter null encrypted packets before sending the next handshake | 112 // If true, neuter null encrypted packets before sending the next handshake |
| 117 // message. | 113 // message. |
| 118 bool FLAGS_quic_neuter_unencrypted_when_sending = false; | 114 bool FLAGS_quic_neuter_unencrypted_when_sending = false; |
| 119 | 115 |
| 120 // If true, QuicAlarm::Update will call a faster UpdateImpl implementation | 116 // If true, QuicAlarm::Update will call a faster UpdateImpl implementation |
| 121 // instead of canceling and reregistering the alarm. | 117 // instead of canceling and reregistering the alarm. |
| 122 bool FLAGS_quic_change_alarms_efficiently = false; | 118 bool FLAGS_quic_change_alarms_efficiently = false; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 147 // have been written and a FIN has been sent. | 143 // have been written and a FIN has been sent. |
| 148 bool FLAGS_quic_close_stream_after_writing_queued_data = false; | 144 bool FLAGS_quic_close_stream_after_writing_queued_data = false; |
| 149 | 145 |
| 150 // If true, close connection with QUIC_TOO_MANY_FRAME_GAPS error when number of | 146 // If true, close connection with QUIC_TOO_MANY_FRAME_GAPS error when number of |
| 151 // gaps in QuicStreamSequenceBuffer exceeds allowed limit. | 147 // gaps in QuicStreamSequenceBuffer exceeds allowed limit. |
| 152 bool FLAGS_quic_limit_frame_gaps_in_buffer = false; | 148 bool FLAGS_quic_limit_frame_gaps_in_buffer = false; |
| 153 | 149 |
| 154 // If true, QuicSentPacketManager will use inline pacing functionality instead | 150 // If true, QuicSentPacketManager will use inline pacing functionality instead |
| 155 // of wrapping the SendAlgorithm with a PacingSender. | 151 // of wrapping the SendAlgorithm with a PacingSender. |
| 156 bool FLAGS_quic_use_inline_pacing = false; | 152 bool FLAGS_quic_use_inline_pacing = false; |
| OLD | NEW |