| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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, ignore QUIC data frames of length 0 for flow control. | 88 // If true, ignore QUIC data frames of length 0 for flow control. |
| 89 bool FLAGS_quic_ignore_zero_length_frames = true; | 89 bool FLAGS_quic_ignore_zero_length_frames = true; |
| 90 | 90 |
| 91 // 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 |
| 92 // packet is forward secure. | 92 // packet is forward secure. |
| 93 bool FLAGS_quic_no_shlo_listener = true; | 93 bool FLAGS_quic_no_shlo_listener = true; |
| 94 | 94 |
| 95 // If true, queued retransmission packets, because of write blocked | |
| 96 // socket, are always sent once the socket gets unblocked | |
| 97 bool FLAGS_quic_always_write_queued_retransmissions = true; | |
| 98 | |
| 99 // Adds a RATE connection option to do rate based sending. | 95 // Adds a RATE connection option to do rate based sending. |
| 100 bool FLAGS_quic_rate_based_sending = true; | 96 bool FLAGS_quic_rate_based_sending = true; |
| 101 | 97 |
| 102 // If true, QUIC will use cheap stateless rejects without creating a full | 98 // If true, QUIC will use cheap stateless rejects without creating a full |
| 103 // connection. | 99 // connection. |
| 104 bool FLAGS_quic_use_cheap_stateless_rejects = false; | 100 bool FLAGS_quic_use_cheap_stateless_rejects = false; |
| 105 | 101 |
| 106 // If true, treat timestamps from SO_TIMESTAMPING as QuicWallTimes rather | 102 // If true, treat timestamps from SO_TIMESTAMPING as QuicWallTimes rather |
| 107 // than QuicTimes. | 103 // than QuicTimes. |
| 108 bool FLAGS_quic_socket_walltimestamps = true; | 104 bool FLAGS_quic_socket_walltimestamps = true; |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 // If true, use async codepaths to invoke ProofSource::GetProof. | 142 // If true, use async codepaths to invoke ProofSource::GetProof. |
| 147 bool FLAGS_enable_async_get_proof = false; | 143 bool FLAGS_enable_async_get_proof = false; |
| 148 | 144 |
| 149 // If true, neuter null encrypted packets before sending the next handshake | 145 // If true, neuter null encrypted packets before sending the next handshake |
| 150 // message. | 146 // message. |
| 151 bool FLAGS_quic_neuter_unencrypted_when_sending = false; | 147 bool FLAGS_quic_neuter_unencrypted_when_sending = false; |
| 152 | 148 |
| 153 // If true, QuicAlarm::Update will call a faster UpdateImpl implementation | 149 // If true, QuicAlarm::Update will call a faster UpdateImpl implementation |
| 154 // instead of canceling and reregistering the alarm. | 150 // instead of canceling and reregistering the alarm. |
| 155 bool FLAGS_quic_change_alarms_efficiently = false; | 151 bool FLAGS_quic_change_alarms_efficiently = false; |
| OLD | NEW |