| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 // of creating a wrapper object. | 132 // of creating a wrapper object. |
| 133 bool FLAGS_quic_time_wait_list_manager_use_shared_writer = true; | 133 bool FLAGS_quic_time_wait_list_manager_use_shared_writer = true; |
| 134 | 134 |
| 135 // When turn on, log packet loss into transport connection stats LossEvent. | 135 // When turn on, log packet loss into transport connection stats LossEvent. |
| 136 bool FLAGS_quic_log_loss_event = true; | 136 bool FLAGS_quic_log_loss_event = true; |
| 137 | 137 |
| 138 // If true, use a free list for the stream frame buffer allocations in | 138 // If true, use a free list for the stream frame buffer allocations in |
| 139 // QuicPacketCreator. | 139 // QuicPacketCreator. |
| 140 bool FLAGS_use_stream_frame_freelist = true; | 140 bool FLAGS_use_stream_frame_freelist = true; |
| 141 | 141 |
| 142 // Call QuicConnection::OnSerializedPacket instead of returning the | |
| 143 // serialized packet when frames are retransmitted. | |
| 144 bool FLAGS_quic_retransmit_via_onserializedpacket = true; | |
| 145 | |
| 146 // If true, for QUIC authenticated encryption algorithms, last 8 bytes | 142 // If true, for QUIC authenticated encryption algorithms, last 8 bytes |
| 147 // of IV comprise packet path id and lower 7 bytes of packet number. | 143 // of IV comprise packet path id and lower 7 bytes of packet number. |
| 148 bool FLAGS_quic_include_path_id_in_iv = true; | 144 bool FLAGS_quic_include_path_id_in_iv = true; |
| 149 | 145 |
| 150 // If true, make sure new incoming streams correctly cede to higher | 146 // If true, make sure new incoming streams correctly cede to higher |
| 151 // priority (or batch) streams when doing QUIC writes. | 147 // priority (or batch) streams when doing QUIC writes. |
| 152 bool FLAGS_quic_cede_correctly = true; | 148 bool FLAGS_quic_cede_correctly = true; |
| 153 | 149 |
| 154 // Has QuicCryptoProof hold a ref to the primary_config instead of storing its | 150 // Has QuicCryptoProof hold a ref to the primary_config instead of storing its |
| 155 // SCID. | 151 // SCID. |
| (...skipping 16 matching lines...) Expand all Loading... |
| 172 // If true, always log the cached network parameters, regardless of whether | 168 // If true, always log the cached network parameters, regardless of whether |
| 173 // bandwidth-resumption has been enabled. | 169 // bandwidth-resumption has been enabled. |
| 174 bool FLAGS_quic_log_received_parameters = true; | 170 bool FLAGS_quic_log_received_parameters = true; |
| 175 | 171 |
| 176 // If true, QUIC will use newly refactored TCP sender code. | 172 // If true, QUIC will use newly refactored TCP sender code. |
| 177 bool FLAGS_quic_use_new_tcp_sender = true; | 173 bool FLAGS_quic_use_new_tcp_sender = true; |
| 178 | 174 |
| 179 // Saves the initial subkey secret in QUIC crypto when deriving keys from the | 175 // Saves the initial subkey secret in QUIC crypto when deriving keys from the |
| 180 // initial premaster secret. | 176 // initial premaster secret. |
| 181 bool FLAGS_quic_save_initial_subkey_secret = true; | 177 bool FLAGS_quic_save_initial_subkey_secret = true; |
| OLD | NEW |