| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 84 // If true, the hash of the CHLO message will be used in the proof generated for |
| 85 // an SCUP message. | 85 // an SCUP message. |
| 86 bool FLAGS_quic_use_hash_in_scup = true; | 86 bool FLAGS_quic_use_hash_in_scup = true; |
| 87 | 87 |
| 88 // If true, QUIC public reset packets will have the \"pre-v33\" public header | 88 // If true, QUIC public reset packets will have the \"pre-v33\" public header |
| 89 // flags. | 89 // flags. |
| 90 bool FLAGS_quic_use_old_public_reset_packets = true; | 90 bool FLAGS_quic_use_old_public_reset_packets = true; |
| 91 | 91 |
| 92 // If true, the dispatcher is responsible for generating server designated | |
| 93 // connection IDs. | |
| 94 bool FLAGS_quic_dispatcher_creates_id = true; | |
| 95 | |
| 96 // If true, checks if the CHLO is acceptable as a matter of policy. | 92 // If true, checks if the CHLO is acceptable as a matter of policy. |
| 97 bool FLAGS_quic_enable_chlo_policy = true; | 93 bool FLAGS_quic_enable_chlo_policy = true; |
| 98 | 94 |
| 99 // If true, ignore QUIC data frames of length 0 for flow control. | 95 // If true, ignore QUIC data frames of length 0 for flow control. |
| 100 bool FLAGS_quic_ignore_zero_length_frames = true; | 96 bool FLAGS_quic_ignore_zero_length_frames = true; |
| 101 | 97 |
| 102 // If true, replace ServerHelloNotifier with a check to see if a decrypted | 98 // If true, replace ServerHelloNotifier with a check to see if a decrypted |
| 103 // packet is forward secure. | 99 // packet is forward secure. |
| 104 bool FLAGS_quic_no_shlo_listener = true; | 100 bool FLAGS_quic_no_shlo_listener = true; |
| 105 | 101 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 // If true, a connection does not migrate on an old packet even the peer address | 152 // If true, a connection does not migrate on an old packet even the peer address |
| 157 // changes. | 153 // changes. |
| 158 bool FLAGS_quic_do_not_migrate_on_old_packet = true; | 154 bool FLAGS_quic_do_not_migrate_on_old_packet = true; |
| 159 | 155 |
| 160 // If true, use async codepaths to invoke ProofSource::GetProof. | 156 // If true, use async codepaths to invoke ProofSource::GetProof. |
| 161 bool FLAGS_enable_async_get_proof = false; | 157 bool FLAGS_enable_async_get_proof = false; |
| 162 | 158 |
| 163 // If true, neuter null encrypted packets before sending the next handshake | 159 // If true, neuter null encrypted packets before sending the next handshake |
| 164 // message. | 160 // message. |
| 165 bool FLAGS_quic_neuter_unencrypted_when_sending = false; | 161 bool FLAGS_quic_neuter_unencrypted_when_sending = false; |
| OLD | NEW |