| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 bool FLAGS_quic_enable_autotune_by_default = true; | 74 bool FLAGS_quic_enable_autotune_by_default = true; |
| 75 | 75 |
| 76 // Use largest acked in the most recent ack instead of largest acked ever in | 76 // Use largest acked in the most recent ack instead of largest acked ever in |
| 77 // loss recovery. | 77 // loss recovery. |
| 78 bool FLAGS_quic_loss_recovery_use_largest_acked = true; | 78 bool FLAGS_quic_loss_recovery_use_largest_acked = true; |
| 79 | 79 |
| 80 // Only set one alarm for sending at once, either the send alarm or | 80 // Only set one alarm for sending at once, either the send alarm or |
| 81 // retransmission alarm. Disabled because it breaks QUIC time loss detection. | 81 // retransmission alarm. Disabled because it breaks QUIC time loss detection. |
| 82 bool FLAGS_quic_only_one_sending_alarm = false; | 82 bool FLAGS_quic_only_one_sending_alarm = false; |
| 83 | 83 |
| 84 // If true, the hash of the CHLO message will be used in the proof generated for | |
| 85 // an SCUP message. | |
| 86 bool FLAGS_quic_use_hash_in_scup = true; | |
| 87 | |
| 88 // If true, QUIC public reset packets will have the \"pre-v33\" public header | 84 // If true, QUIC public reset packets will have the \"pre-v33\" public header |
| 89 // flags. | 85 // flags. |
| 90 bool FLAGS_quic_use_old_public_reset_packets = true; | 86 bool FLAGS_quic_use_old_public_reset_packets = true; |
| 91 | 87 |
| 92 // If true, checks if the CHLO is acceptable as a matter of policy. | 88 // If true, checks if the CHLO is acceptable as a matter of policy. |
| 93 bool FLAGS_quic_enable_chlo_policy = true; | 89 bool FLAGS_quic_enable_chlo_policy = true; |
| 94 | 90 |
| 95 // If true, ignore QUIC data frames of length 0 for flow control. | 91 // If true, ignore QUIC data frames of length 0 for flow control. |
| 96 bool FLAGS_quic_ignore_zero_length_frames = true; | 92 bool FLAGS_quic_ignore_zero_length_frames = true; |
| 97 | 93 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 // If true, a connection does not migrate on an old packet even the peer address | 148 // If true, a connection does not migrate on an old packet even the peer address |
| 153 // changes. | 149 // changes. |
| 154 bool FLAGS_quic_do_not_migrate_on_old_packet = true; | 150 bool FLAGS_quic_do_not_migrate_on_old_packet = true; |
| 155 | 151 |
| 156 // If true, use async codepaths to invoke ProofSource::GetProof. | 152 // If true, use async codepaths to invoke ProofSource::GetProof. |
| 157 bool FLAGS_enable_async_get_proof = false; | 153 bool FLAGS_enable_async_get_proof = false; |
| 158 | 154 |
| 159 // If true, neuter null encrypted packets before sending the next handshake | 155 // If true, neuter null encrypted packets before sending the next handshake |
| 160 // message. | 156 // message. |
| 161 bool FLAGS_quic_neuter_unencrypted_when_sending = false; | 157 bool FLAGS_quic_neuter_unencrypted_when_sending = false; |
| OLD | NEW |