| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 // If true, Close the connection instead of writing unencrypted stream data. | 89 // If true, Close the connection instead of writing unencrypted stream data. |
| 90 bool FLAGS_quic_never_write_unencrypted_data = true; | 90 bool FLAGS_quic_never_write_unencrypted_data = true; |
| 91 | 91 |
| 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, QUIC supports sending trailers from Server to Client. | |
| 100 bool FLAGS_quic_supports_trailers = true; | |
| 101 | |
| 102 // If true, headers stream will support receiving PUSH_PROMISE frames. | 99 // If true, headers stream will support receiving PUSH_PROMISE frames. |
| 103 bool FLAGS_quic_supports_push_promise = false; | 100 bool FLAGS_quic_supports_push_promise = false; |
| 104 | 101 |
| 105 // Enable counters for incoming/outgoing streams which are used as condition | 102 // Enable counters for incoming/outgoing streams which are used as condition |
| 106 // check while creating a new stream. | 103 // check while creating a new stream. |
| 107 bool FLAGS_quic_distinguish_incoming_outgoing_streams = true; | 104 bool FLAGS_quic_distinguish_incoming_outgoing_streams = true; |
| 108 | 105 |
| 109 // If true, QUIC servers will attempt to validate a client's source | 106 // If true, QUIC servers will attempt to validate a client's source |
| 110 // address token using the primary config, even if no server config id | 107 // address token using the primary config, even if no server config id |
| 111 // is present in the client hello. | 108 // is present in the client hello. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 // If true, always log the cached network parameters, regardless of whether | 143 // If true, always log the cached network parameters, regardless of whether |
| 147 // bandwidth-resumption has been enabled. | 144 // bandwidth-resumption has been enabled. |
| 148 bool FLAGS_quic_log_received_parameters = true; | 145 bool FLAGS_quic_log_received_parameters = true; |
| 149 | 146 |
| 150 // If true, QUIC will use newly refactored TCP sender code. | 147 // If true, QUIC will use newly refactored TCP sender code. |
| 151 bool FLAGS_quic_use_new_tcp_sender = true; | 148 bool FLAGS_quic_use_new_tcp_sender = true; |
| 152 | 149 |
| 153 // Saves the initial subkey secret in QUIC crypto when deriving keys from the | 150 // Saves the initial subkey secret in QUIC crypto when deriving keys from the |
| 154 // initial premaster secret. | 151 // initial premaster secret. |
| 155 bool FLAGS_quic_save_initial_subkey_secret = true; | 152 bool FLAGS_quic_save_initial_subkey_secret = true; |
| OLD | NEW |