| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 will support RFC 7539 variants of ChaCha20 Poly1305. | 89 // If true, QUIC will support RFC 7539 variants of ChaCha20 Poly1305. |
| 90 bool FLAGS_quic_use_rfc7539 = true; | 90 bool FLAGS_quic_use_rfc7539 = true; |
| 91 | 91 |
| 92 // If true, require QUIC connections to use a valid server nonce or a non-local | |
| 93 // strike register. | |
| 94 bool FLAGS_require_strike_register_or_server_nonce = true; | |
| 95 | |
| 96 // When turn on, log packet loss into transport connection stats LossEvent. | 92 // When turn on, log packet loss into transport connection stats LossEvent. |
| 97 bool FLAGS_quic_log_loss_event = true; | 93 bool FLAGS_quic_log_loss_event = true; |
| 98 | 94 |
| 99 // If true, for QUIC authenticated encryption algorithms, last 8 bytes | 95 // If true, for QUIC authenticated encryption algorithms, last 8 bytes |
| 100 // of IV comprise packet path id and lower 7 bytes of packet number. | 96 // of IV comprise packet path id and lower 7 bytes of packet number. |
| 101 bool FLAGS_quic_include_path_id_in_iv = true; | 97 bool FLAGS_quic_include_path_id_in_iv = true; |
| 102 | 98 |
| 103 // If true, make sure new incoming streams correctly cede to higher | 99 // If true, make sure new incoming streams correctly cede to higher |
| 104 // priority (or batch) streams when doing QUIC writes. | 100 // priority (or batch) streams when doing QUIC writes. |
| 105 bool FLAGS_quic_cede_correctly = true; | 101 bool FLAGS_quic_cede_correctly = true; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 128 // Saves the initial subkey secret in QUIC crypto when deriving keys from the | 124 // Saves the initial subkey secret in QUIC crypto when deriving keys from the |
| 129 // initial premaster secret. | 125 // initial premaster secret. |
| 130 bool FLAGS_quic_save_initial_subkey_secret = true; | 126 bool FLAGS_quic_save_initial_subkey_secret = true; |
| 131 | 127 |
| 132 // If true, the QUIC dispatcher will directly send version negotiation packets | 128 // If true, the QUIC dispatcher will directly send version negotiation packets |
| 133 // without needing to create a QUIC session first. | 129 // without needing to create a QUIC session first. |
| 134 bool FLAGS_quic_stateless_version_negotiation = false; | 130 bool FLAGS_quic_stateless_version_negotiation = false; |
| 135 | 131 |
| 136 // QUIC Ack Decimation with tolerance for packet reordering. | 132 // QUIC Ack Decimation with tolerance for packet reordering. |
| 137 bool FLAGS_quic_ack_decimation2 = true; | 133 bool FLAGS_quic_ack_decimation2 = true; |
| OLD | NEW |