| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 // If true, clear the FEC group instead of sending it with ENCRYPTION_NONE. | 79 // If true, clear the FEC group instead of sending it with ENCRYPTION_NONE. |
| 80 // Close the connection if we ever try to serialized unencrypted FEC. | 80 // Close the connection if we ever try to serialized unencrypted FEC. |
| 81 bool FLAGS_quic_no_unencrypted_fec = true; | 81 bool FLAGS_quic_no_unencrypted_fec = true; |
| 82 | 82 |
| 83 // If true, reject any incoming QUIC which does not have the FIXD tag. | 83 // If true, reject any incoming QUIC which does not have the FIXD tag. |
| 84 bool FLAGS_quic_require_fix = true; | 84 bool FLAGS_quic_require_fix = true; |
| 85 | 85 |
| 86 // If true, headers stream will support receiving PUSH_PROMISE frames. | 86 // If true, headers stream will support receiving PUSH_PROMISE frames. |
| 87 bool FLAGS_quic_supports_push_promise = false; | 87 bool FLAGS_quic_supports_push_promise = false; |
| 88 | 88 |
| 89 // If true, QUIC servers will attempt to validate a client's source | |
| 90 // address token using the primary config, even if no server config id | |
| 91 // is present in the client hello. | |
| 92 bool FLAGS_quic_validate_stk_without_scid = true; | |
| 93 | |
| 94 // If true, QUIC will support RFC 7539 variants of ChaCha20 Poly1305. | 89 // If true, QUIC will support RFC 7539 variants of ChaCha20 Poly1305. |
| 95 bool FLAGS_quic_use_rfc7539 = true; | 90 bool FLAGS_quic_use_rfc7539 = true; |
| 96 | 91 |
| 97 // If true, require QUIC connections to use a valid server nonce or a non-local | 92 // If true, require QUIC connections to use a valid server nonce or a non-local |
| 98 // strike register. | 93 // strike register. |
| 99 bool FLAGS_require_strike_register_or_server_nonce = true; | 94 bool FLAGS_require_strike_register_or_server_nonce = true; |
| 100 | 95 |
| 101 // When turn on, log packet loss into transport connection stats LossEvent. | 96 // When turn on, log packet loss into transport connection stats LossEvent. |
| 102 bool FLAGS_quic_log_loss_event = true; | 97 bool FLAGS_quic_log_loss_event = true; |
| 103 | 98 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 133 // Saves the initial subkey secret in QUIC crypto when deriving keys from the | 128 // Saves the initial subkey secret in QUIC crypto when deriving keys from the |
| 134 // initial premaster secret. | 129 // initial premaster secret. |
| 135 bool FLAGS_quic_save_initial_subkey_secret = true; | 130 bool FLAGS_quic_save_initial_subkey_secret = true; |
| 136 | 131 |
| 137 // If true, the QUIC dispatcher will directly send version negotiation packets | 132 // If true, the QUIC dispatcher will directly send version negotiation packets |
| 138 // without needing to create a QUIC session first. | 133 // without needing to create a QUIC session first. |
| 139 bool FLAGS_quic_stateless_version_negotiation = false; | 134 bool FLAGS_quic_stateless_version_negotiation = false; |
| 140 | 135 |
| 141 // QUIC Ack Decimation with tolerance for packet reordering. | 136 // QUIC Ack Decimation with tolerance for packet reordering. |
| 142 bool FLAGS_quic_ack_decimation2 = true; | 137 bool FLAGS_quic_ack_decimation2 = true; |
| OLD | NEW |