| 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 // When true, the use time based loss detection instead of nack. | 7 // When true, the use time based loss detection instead of nack. |
| 8 bool FLAGS_quic_use_time_loss_detection = false; | 8 bool FLAGS_quic_use_time_loss_detection = false; |
| 9 | 9 |
| 10 // If true, it will return as soon as an error is detected while validating | 10 // If true, it will return as soon as an error is detected while validating |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 | 163 |
| 164 // If on, max number of incoming and outgoing streams will be different. | 164 // If on, max number of incoming and outgoing streams will be different. |
| 165 // Incoming will be a little higher than outgoing to tolerate race condition. | 165 // Incoming will be a little higher than outgoing to tolerate race condition. |
| 166 bool FLAGS_quic_different_max_num_open_streams = true; | 166 bool FLAGS_quic_different_max_num_open_streams = true; |
| 167 | 167 |
| 168 // If true, QUIC should correctly report if it supports ChaCha20. Otherwise, | 168 // If true, QUIC should correctly report if it supports ChaCha20. Otherwise, |
| 169 // QUIC will lie and claim that it does not support ChaCha20. The primary use | 169 // QUIC will lie and claim that it does not support ChaCha20. The primary use |
| 170 // case for this is places where ChaCha20 is prohibitively expensive compared to | 170 // case for this is places where ChaCha20 is prohibitively expensive compared to |
| 171 // AES-GCM. | 171 // AES-GCM. |
| 172 bool FLAGS_quic_crypto_server_config_default_has_chacha20 = true; | 172 bool FLAGS_quic_crypto_server_config_default_has_chacha20 = true; |
| 173 |
| 174 // If true, checking for peer address change is postponed after the packet gets |
| 175 // decrypted. |
| 176 bool FLAGS_check_peer_address_change_after_decryption = true; |
| OLD | NEW |