| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 // If ture, allow Ack Decimation to be used for QUIC when requested by the | 44 // If ture, allow Ack Decimation to be used for QUIC when requested by the |
| 45 // client connection option ACKD. | 45 // client connection option ACKD. |
| 46 bool FLAGS_quic_ack_decimation = true; | 46 bool FLAGS_quic_ack_decimation = true; |
| 47 | 47 |
| 48 // This flag is not in use, just to keep consistency for shared code. | 48 // This flag is not in use, just to keep consistency for shared code. |
| 49 bool FLAGS_quic_always_log_bugs_for_tests = false; | 49 bool FLAGS_quic_always_log_bugs_for_tests = false; |
| 50 | 50 |
| 51 // If true, flow controller may grow the receive window size if necessary. | 51 // If true, flow controller may grow the receive window size if necessary. |
| 52 bool FLAGS_quic_auto_tune_receive_window = true; | 52 bool FLAGS_quic_auto_tune_receive_window = true; |
| 53 | 53 |
| 54 // If true, multipath is enabled for the connection. |
| 55 bool FLAGS_quic_enable_multipath = false; |
| 56 |
| 54 // Limits QUIC's max CWND to 200 packets. | 57 // Limits QUIC's max CWND to 200 packets. |
| 55 bool FLAGS_quic_limit_max_cwnd = true; | 58 bool FLAGS_quic_limit_max_cwnd = true; |
| 56 | 59 |
| 57 // If true, require handshake confirmation for QUIC connections, functionally | 60 // If true, require handshake confirmation for QUIC connections, functionally |
| 58 // disabling 0-rtt handshakes. | 61 // disabling 0-rtt handshakes. |
| 59 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. | 62 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. |
| 60 bool FLAGS_quic_require_handshake_confirmation = false; | 63 bool FLAGS_quic_require_handshake_confirmation = false; |
| 61 | 64 |
| 62 // If true, Cubic's epoch is shifted when the sender is application-limited. | 65 // If true, Cubic's epoch is shifted when the sender is application-limited. |
| 63 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = true; | 66 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = true; |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 | 146 |
| 144 // If true, drop not awaited QUIC packets before decrypting them. | 147 // If true, drop not awaited QUIC packets before decrypting them. |
| 145 bool FLAGS_quic_drop_non_awaited_packets = false; | 148 bool FLAGS_quic_drop_non_awaited_packets = false; |
| 146 | 149 |
| 147 // If true, use the fast implementation of IncrementalHash/FNV1a_128_Hash. | 150 // If true, use the fast implementation of IncrementalHash/FNV1a_128_Hash. |
| 148 bool FLAGS_quic_utils_use_fast_incremental_hash = true; | 151 bool FLAGS_quic_utils_use_fast_incremental_hash = true; |
| 149 | 152 |
| 150 // If true, require QUIC connections to use a valid server nonce or a non-local | 153 // If true, require QUIC connections to use a valid server nonce or a non-local |
| 151 // strike register. | 154 // strike register. |
| 152 bool FLAGS_require_strike_register_or_server_nonce = true; | 155 bool FLAGS_require_strike_register_or_server_nonce = true; |
| OLD | NEW |