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