| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 // If true, make sure new incoming streams correctly cede to higher | 75 // If true, make sure new incoming streams correctly cede to higher |
| 76 // priority (or batch) streams when doing QUIC writes. | 76 // priority (or batch) streams when doing QUIC writes. |
| 77 bool FLAGS_quic_cede_correctly = true; | 77 bool FLAGS_quic_cede_correctly = true; |
| 78 | 78 |
| 79 // If true, QUIC should correctly report if it supports ChaCha20. Otherwise, | 79 // If true, QUIC should correctly report if it supports ChaCha20. Otherwise, |
| 80 // QUIC will lie and claim that it does not support ChaCha20. The primary use | 80 // QUIC will lie and claim that it does not support ChaCha20. The primary use |
| 81 // case for this is places where ChaCha20 is prohibitively expensive compared to | 81 // case for this is places where ChaCha20 is prohibitively expensive compared to |
| 82 // AES-GCM. | 82 // AES-GCM. |
| 83 bool FLAGS_quic_crypto_server_config_default_has_chacha20 = true; | 83 bool FLAGS_quic_crypto_server_config_default_has_chacha20 = true; |
| 84 | 84 |
| 85 // If true, uses the new QUIC ChloExtractor for extracting CHLO |
| 86 // messages from packets. |
| 87 bool FLAGS_quic_use_chlo_extractor = true; |
| 88 |
| 85 // If true, QUIC will use newly refactored TCP sender code. | 89 // If true, QUIC will use newly refactored TCP sender code. |
| 86 bool FLAGS_quic_use_new_tcp_sender = true; | 90 bool FLAGS_quic_use_new_tcp_sender = true; |
| 87 | 91 |
| 88 // If true, the QUIC dispatcher will directly send version negotiation packets | 92 // If true, the QUIC dispatcher will directly send version negotiation packets |
| 89 // without needing to create a QUIC session first. | 93 // without needing to create a QUIC session first. |
| 90 bool FLAGS_quic_stateless_version_negotiation = true; | 94 bool FLAGS_quic_stateless_version_negotiation = true; |
| 91 | 95 |
| 92 // If true, QUIC connections will defer responding to ACKs to their send alarms. | 96 // If true, QUIC connections will defer responding to ACKs to their send alarms. |
| 93 bool FLAGS_quic_connection_defer_ack_response = true; | 97 bool FLAGS_quic_connection_defer_ack_response = true; |
| 94 | 98 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 // Add the ability for QUIC's time based loss detection to increase it's | 130 // Add the ability for QUIC's time based loss detection to increase it's |
| 127 // threshold after spurious losses. | 131 // threshold after spurious losses. |
| 128 bool FLAGS_quic_adaptive_loss_recovery = true; | 132 bool FLAGS_quic_adaptive_loss_recovery = true; |
| 129 | 133 |
| 130 // If true, enable auto tuning by default (server side). | 134 // If true, enable auto tuning by default (server side). |
| 131 bool FLAGS_quic_enable_autotune_by_default = true; | 135 bool FLAGS_quic_enable_autotune_by_default = true; |
| 132 | 136 |
| 133 // Use largest acked in the most recent ack instead of largest acked ever in | 137 // Use largest acked in the most recent ack instead of largest acked ever in |
| 134 // loss recovery. | 138 // loss recovery. |
| 135 bool FLAGS_quic_loss_recovery_use_largest_acked = true; | 139 bool FLAGS_quic_loss_recovery_use_largest_acked = true; |
| OLD | NEW |