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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, 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 |
85 // flags. | 85 // flags. |
86 bool FLAGS_quic_use_old_public_reset_packets = true; | 86 bool FLAGS_quic_use_old_public_reset_packets = true; |
87 | 87 |
88 // If true, checks if the CHLO is acceptable as a matter of policy. | |
89 bool FLAGS_quic_enable_chlo_policy = true; | |
90 | |
91 // If true, ignore QUIC data frames of length 0 for flow control. | 88 // If true, ignore QUIC data frames of length 0 for flow control. |
92 bool FLAGS_quic_ignore_zero_length_frames = true; | 89 bool FLAGS_quic_ignore_zero_length_frames = true; |
93 | 90 |
94 // If true, replace ServerHelloNotifier with a check to see if a decrypted | 91 // If true, replace ServerHelloNotifier with a check to see if a decrypted |
95 // packet is forward secure. | 92 // packet is forward secure. |
96 bool FLAGS_quic_no_shlo_listener = true; | 93 bool FLAGS_quic_no_shlo_listener = true; |
97 | 94 |
98 // If true, queued retransmission packets, because of write blocked | 95 // If true, queued retransmission packets, because of write blocked |
99 // socket, are always sent once the socket gets unblocked | 96 // socket, are always sent once the socket gets unblocked |
100 bool FLAGS_quic_always_write_queued_retransmissions = true; | 97 bool FLAGS_quic_always_write_queued_retransmissions = true; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 // If true, use async codepaths to invoke ProofSource::GetProof. | 149 // If true, use async codepaths to invoke ProofSource::GetProof. |
153 bool FLAGS_enable_async_get_proof = false; | 150 bool FLAGS_enable_async_get_proof = false; |
154 | 151 |
155 // If true, neuter null encrypted packets before sending the next handshake | 152 // If true, neuter null encrypted packets before sending the next handshake |
156 // message. | 153 // message. |
157 bool FLAGS_quic_neuter_unencrypted_when_sending = false; | 154 bool FLAGS_quic_neuter_unencrypted_when_sending = false; |
158 | 155 |
159 // If true, QuicAlarm::Update will call a faster UpdateImpl implementation | 156 // If true, QuicAlarm::Update will call a faster UpdateImpl implementation |
160 // instead of canceling and reregistering the alarm. | 157 // instead of canceling and reregistering the alarm. |
161 bool FLAGS_quic_change_alarms_efficiently = false; | 158 bool FLAGS_quic_change_alarms_efficiently = false; |
OLD | NEW |