| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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, QUIC will use newly refactored TCP sender code. | 85 // If true, QUIC will use newly refactored TCP sender code. |
| 86 bool FLAGS_quic_use_new_tcp_sender = true; | 86 bool FLAGS_quic_use_new_tcp_sender = true; |
| 87 | 87 |
| 88 // If true, the QUIC dispatcher will directly send version negotiation packets | |
| 89 // without needing to create a QUIC session first. | |
| 90 bool FLAGS_quic_stateless_version_negotiation = true; | |
| 91 | |
| 92 // If true, QUIC connections will defer responding to ACKs to their send alarms. | 88 // If true, QUIC connections will defer responding to ACKs to their send alarms. |
| 93 bool FLAGS_quic_connection_defer_ack_response = true; | 89 bool FLAGS_quic_connection_defer_ack_response = true; |
| 94 | 90 |
| 95 // Try to use the socket timestamp to determine the time a packet was | |
| 96 // received instead of Now(). | |
| 97 bool FLAGS_quic_use_socket_timestamp = true; | |
| 98 | |
| 99 // Resend 0RTT requests in response to an REJ that re-establishes encryption. | 91 // Resend 0RTT requests in response to an REJ that re-establishes encryption. |
| 100 bool FLAGS_quic_reply_to_rej = true; | 92 bool FLAGS_quic_reply_to_rej = true; |
| 101 | 93 |
| 102 // If true, QuicFramer will ignore invalid error codes when processing GoAway, | |
| 103 // ConnectionClose, and RstStream frames. | |
| 104 bool FLAGS_quic_ignore_invalid_error_code = true; | |
| 105 | |
| 106 // If true, QUIC connections can do bandwidth resumption with an initial window | 94 // If true, QUIC connections can do bandwidth resumption with an initial window |
| 107 // of < 10 packets. | 95 // of < 10 packets. |
| 108 bool FLAGS_quic_no_lower_bw_resumption_limit = true; | 96 bool FLAGS_quic_no_lower_bw_resumption_limit = true; |
| 109 | 97 |
| 110 // Limit the ruction of slow start large reduction to 1/2 the current CWND once | 98 // Limit the ruction of slow start large reduction to 1/2 the current CWND once |
| 111 // the initial flight has been acked. | 99 // the initial flight has been acked. |
| 112 bool FLAGS_quic_sslr_limit_reduction = true; | 100 bool FLAGS_quic_sslr_limit_reduction = true; |
| 113 | 101 |
| 114 // Simplify QUIC's loss detection by combining time and nack based portions. | 102 // Simplify QUIC's loss detection by combining time and nack based portions. |
| 115 bool FLAGS_quic_simplify_loss_detection = true; | 103 bool FLAGS_quic_simplify_loss_detection = true; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 130 // Add the ability for QUIC's time based loss detection to increase it's | 118 // Add the ability for QUIC's time based loss detection to increase it's |
| 131 // threshold after spurious losses. | 119 // threshold after spurious losses. |
| 132 bool FLAGS_quic_adaptive_loss_recovery = true; | 120 bool FLAGS_quic_adaptive_loss_recovery = true; |
| 133 | 121 |
| 134 // If true, enable auto tuning by default (server side). | 122 // If true, enable auto tuning by default (server side). |
| 135 bool FLAGS_quic_enable_autotune_by_default = true; | 123 bool FLAGS_quic_enable_autotune_by_default = true; |
| 136 | 124 |
| 137 // Use largest acked in the most recent ack instead of largest acked ever in | 125 // Use largest acked in the most recent ack instead of largest acked ever in |
| 138 // loss recovery. | 126 // loss recovery. |
| 139 bool FLAGS_quic_loss_recovery_use_largest_acked = true; | 127 bool FLAGS_quic_loss_recovery_use_largest_acked = true; |
| 128 |
| 129 // Only set one alarm for sending at once, either the send alarm or |
| 130 // retransmission alarm. |
| 131 bool FLAGS_quic_only_one_sending_alarm = true; |
| OLD | NEW |