| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 bool FLAGS_quic_distinguish_incoming_outgoing_streams = true; | 111 bool FLAGS_quic_distinguish_incoming_outgoing_streams = true; |
| 112 | 112 |
| 113 // If true, QUIC servers will attempt to validate a client's source | 113 // If true, QUIC servers will attempt to validate a client's source |
| 114 // address token using the primary config, even if no server config id | 114 // address token using the primary config, even if no server config id |
| 115 // is present in the client hello. | 115 // is present in the client hello. |
| 116 bool FLAGS_quic_validate_stk_without_scid = true; | 116 bool FLAGS_quic_validate_stk_without_scid = true; |
| 117 | 117 |
| 118 // If true, QUIC will support RFC 7539 variants of ChaCha20 Poly1305. | 118 // If true, QUIC will support RFC 7539 variants of ChaCha20 Poly1305. |
| 119 bool FLAGS_quic_use_rfc7539 = true; | 119 bool FLAGS_quic_use_rfc7539 = true; |
| 120 | 120 |
| 121 // If true, use the fast implementation of IncrementalHash/FNV1a_128_Hash. | |
| 122 bool FLAGS_quic_utils_use_fast_incremental_hash = true; | |
| 123 | |
| 124 // If true, require QUIC connections to use a valid server nonce or a non-local | 121 // If true, require QUIC connections to use a valid server nonce or a non-local |
| 125 // strike register. | 122 // strike register. |
| 126 bool FLAGS_require_strike_register_or_server_nonce = true; | 123 bool FLAGS_require_strike_register_or_server_nonce = true; |
| 127 | 124 |
| 128 // When turn on, log packet loss into transport connection stats LossEvent. | 125 // When turn on, log packet loss into transport connection stats LossEvent. |
| 129 bool FLAGS_quic_log_loss_event = true; | 126 bool FLAGS_quic_log_loss_event = true; |
| 130 | 127 |
| 131 // If true, for QUIC authenticated encryption algorithms, last 8 bytes | 128 // If true, for QUIC authenticated encryption algorithms, last 8 bytes |
| 132 // of IV comprise packet path id and lower 7 bytes of packet number. | 129 // of IV comprise packet path id and lower 7 bytes of packet number. |
| 133 bool FLAGS_quic_include_path_id_in_iv = true; | 130 bool FLAGS_quic_include_path_id_in_iv = true; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 157 // If true, always log the cached network parameters, regardless of whether | 154 // If true, always log the cached network parameters, regardless of whether |
| 158 // bandwidth-resumption has been enabled. | 155 // bandwidth-resumption has been enabled. |
| 159 bool FLAGS_quic_log_received_parameters = true; | 156 bool FLAGS_quic_log_received_parameters = true; |
| 160 | 157 |
| 161 // If true, QUIC will use newly refactored TCP sender code. | 158 // If true, QUIC will use newly refactored TCP sender code. |
| 162 bool FLAGS_quic_use_new_tcp_sender = true; | 159 bool FLAGS_quic_use_new_tcp_sender = true; |
| 163 | 160 |
| 164 // Saves the initial subkey secret in QUIC crypto when deriving keys from the | 161 // Saves the initial subkey secret in QUIC crypto when deriving keys from the |
| 165 // initial premaster secret. | 162 // initial premaster secret. |
| 166 bool FLAGS_quic_save_initial_subkey_secret = true; | 163 bool FLAGS_quic_save_initial_subkey_secret = true; |
| OLD | NEW |