| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 // If true, clear the FEC group instead of sending it with ENCRYPTION_NONE. | 92 // If true, clear the FEC group instead of sending it with ENCRYPTION_NONE. |
| 93 // Close the connection if we ever try to serialized unencrypted FEC. | 93 // Close the connection if we ever try to serialized unencrypted FEC. |
| 94 bool FLAGS_quic_no_unencrypted_fec = true; | 94 bool FLAGS_quic_no_unencrypted_fec = true; |
| 95 | 95 |
| 96 // If true, reject any incoming QUIC which does not have the FIXD tag. | 96 // If true, reject any incoming QUIC which does not have the FIXD tag. |
| 97 bool FLAGS_quic_require_fix = true; | 97 bool FLAGS_quic_require_fix = true; |
| 98 | 98 |
| 99 // If true, headers stream will support receiving PUSH_PROMISE frames. | 99 // If true, headers stream will support receiving PUSH_PROMISE frames. |
| 100 bool FLAGS_quic_supports_push_promise = false; | 100 bool FLAGS_quic_supports_push_promise = false; |
| 101 | 101 |
| 102 // Enable counters for incoming/outgoing streams which are used as condition | |
| 103 // check while creating a new stream. | |
| 104 bool FLAGS_quic_distinguish_incoming_outgoing_streams = true; | |
| 105 | |
| 106 // If true, QUIC servers will attempt to validate a client's source | 102 // If true, QUIC servers will attempt to validate a client's source |
| 107 // address token using the primary config, even if no server config id | 103 // address token using the primary config, even if no server config id |
| 108 // is present in the client hello. | 104 // is present in the client hello. |
| 109 bool FLAGS_quic_validate_stk_without_scid = true; | 105 bool FLAGS_quic_validate_stk_without_scid = true; |
| 110 | 106 |
| 111 // If true, QUIC will support RFC 7539 variants of ChaCha20 Poly1305. | 107 // If true, QUIC will support RFC 7539 variants of ChaCha20 Poly1305. |
| 112 bool FLAGS_quic_use_rfc7539 = true; | 108 bool FLAGS_quic_use_rfc7539 = true; |
| 113 | 109 |
| 114 // If true, require QUIC connections to use a valid server nonce or a non-local | 110 // If true, require QUIC connections to use a valid server nonce or a non-local |
| 115 // strike register. | 111 // strike register. |
| (...skipping 27 matching lines...) Expand all Loading... |
| 143 // If true, always log the cached network parameters, regardless of whether | 139 // If true, always log the cached network parameters, regardless of whether |
| 144 // bandwidth-resumption has been enabled. | 140 // bandwidth-resumption has been enabled. |
| 145 bool FLAGS_quic_log_received_parameters = true; | 141 bool FLAGS_quic_log_received_parameters = true; |
| 146 | 142 |
| 147 // If true, QUIC will use newly refactored TCP sender code. | 143 // If true, QUIC will use newly refactored TCP sender code. |
| 148 bool FLAGS_quic_use_new_tcp_sender = true; | 144 bool FLAGS_quic_use_new_tcp_sender = true; |
| 149 | 145 |
| 150 // Saves the initial subkey secret in QUIC crypto when deriving keys from the | 146 // Saves the initial subkey secret in QUIC crypto when deriving keys from the |
| 151 // initial premaster secret. | 147 // initial premaster secret. |
| 152 bool FLAGS_quic_save_initial_subkey_secret = true; | 148 bool FLAGS_quic_save_initial_subkey_secret = true; |
| OLD | NEW |