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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 // If true, clear the FEC group instead of sending it with ENCRYPTION_NONE. | 112 // If true, clear the FEC group instead of sending it with ENCRYPTION_NONE. |
113 // Close the connection if we ever try to serialized unencrypted FEC. | 113 // Close the connection if we ever try to serialized unencrypted FEC. |
114 bool FLAGS_quic_no_unencrypted_fec = true; | 114 bool FLAGS_quic_no_unencrypted_fec = true; |
115 | 115 |
116 // If true, reject any incoming QUIC which does not have the FIXD tag. | 116 // If true, reject any incoming QUIC which does not have the FIXD tag. |
117 bool FLAGS_quic_require_fix = true; | 117 bool FLAGS_quic_require_fix = true; |
118 | 118 |
119 // If true, QUIC supports sending trailers from Server to Client. | 119 // If true, QUIC supports sending trailers from Server to Client. |
120 bool FLAGS_quic_supports_trailers = true; | 120 bool FLAGS_quic_supports_trailers = true; |
121 | 121 |
| 122 // If true, headers stream will support receiving PUSH_PROMISE frames. |
| 123 bool FLAGS_quic_supports_push_promise = true; |
| 124 |
122 // Fixes a bug in QUIC_VERSION_26 by always using the primary config when | 125 // Fixes a bug in QUIC_VERSION_26 by always using the primary config when |
123 // getting the proof of possession. | 126 // getting the proof of possession. |
124 bool FLAGS_quic_use_primary_config_for_proof = true; | 127 bool FLAGS_quic_use_primary_config_for_proof = true; |
125 | 128 |
126 // Enable counters for incoming/outgoing streams which are used as condition | 129 // Enable counters for incoming/outgoing streams which are used as condition |
127 // check while creating a new stream. | 130 // check while creating a new stream. |
128 bool FLAGS_quic_distinguish_incoming_outgoing_streams = true; | 131 bool FLAGS_quic_distinguish_incoming_outgoing_streams = true; |
129 | 132 |
130 // If true, QUIC servers will attempt to validate a client's source | 133 // If true, QUIC servers will attempt to validate a client's source |
131 // address token using the primary config, even if no server config id | 134 // address token using the primary config, even if no server config id |
132 // is present in the client hello. | 135 // is present in the client hello. |
133 bool FLAGS_quic_validate_stk_without_scid = true; | 136 bool FLAGS_quic_validate_stk_without_scid = true; |
134 | 137 |
135 // If true, use the new write blocked list for QUIC. | 138 // If true, use the new write blocked list for QUIC. |
136 bool FLAGS_quic_new_blocked_list = true; | 139 bool FLAGS_quic_new_blocked_list = true; |
137 | 140 |
138 // If true, QUIC will support RFC 7539 variants of ChaCha20 Poly1305. | 141 // If true, QUIC will support RFC 7539 variants of ChaCha20 Poly1305. |
139 bool FLAGS_quic_use_rfc7539 = true; | 142 bool FLAGS_quic_use_rfc7539 = true; |
140 | 143 |
141 // If true, drop not awaited QUIC packets before decrypting them. | 144 // If true, drop not awaited QUIC packets before decrypting them. |
142 bool FLAGS_quic_drop_non_awaited_packets = false; | 145 bool FLAGS_quic_drop_non_awaited_packets = false; |
143 | 146 |
144 // If true, use the fast implementation of IncrementalHash/FNV1a_128_Hash. | 147 // If true, use the fast implementation of IncrementalHash/FNV1a_128_Hash. |
145 bool FLAGS_quic_utils_use_fast_incremental_hash = true; | 148 bool FLAGS_quic_utils_use_fast_incremental_hash = true; |
OLD | NEW |