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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 // structure for QuicStreamSequencer bufferring. | 86 // structure for QuicStreamSequencer bufferring. |
87 bool FLAGS_quic_use_stream_sequencer_buffer = true; | 87 bool FLAGS_quic_use_stream_sequencer_buffer = true; |
88 | 88 |
89 // If true, don't send QUIC packets if the send alarm is set. | 89 // If true, don't send QUIC packets if the send alarm is set. |
90 bool FLAGS_quic_respect_send_alarm2 = true; | 90 bool FLAGS_quic_respect_send_alarm2 = true; |
91 | 91 |
92 // If ture, sets callback pointer to nullptr after calling Cancel() in | 92 // If ture, sets callback pointer to nullptr after calling Cancel() in |
93 // QuicCryptoServerStream::CancelOutstandingCallbacks. | 93 // QuicCryptoServerStream::CancelOutstandingCallbacks. |
94 bool FLAGS_quic_set_client_hello_cb_nullptr = true; | 94 bool FLAGS_quic_set_client_hello_cb_nullptr = true; |
95 | 95 |
96 // If treu, Only track a single retransmission in QUIC's TransmissionInfo | |
97 // struct. | |
98 bool FLAGS_quic_track_single_retransmission = true; | |
99 | |
100 // If true, allow each quic stream to write 16k blocks rather than doing a round | 96 // If true, allow each quic stream to write 16k blocks rather than doing a round |
101 // robin of one packet per session when ack clocked or paced. | 97 // robin of one packet per session when ack clocked or paced. |
102 bool FLAGS_quic_batch_writes = true; | 98 bool FLAGS_quic_batch_writes = true; |
103 | 99 |
104 // If true, QUIC sessions will write block streams that attempt to write | 100 // If true, QUIC sessions will write block streams that attempt to write |
105 // unencrypted data. | 101 // unencrypted data. |
106 bool FLAGS_quic_block_unencrypted_writes = true; | 102 bool FLAGS_quic_block_unencrypted_writes = true; |
107 | 103 |
108 // If true, Close the connection instead of writing unencrypted stream data. | 104 // If true, Close the connection instead of writing unencrypted stream data. |
109 bool FLAGS_quic_never_write_unencrypted_data = true; | 105 bool FLAGS_quic_never_write_unencrypted_data = true; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 // of IV comprise packet path id and lower 7 bytes of packet number. | 161 // of IV comprise packet path id and lower 7 bytes of packet number. |
166 bool FLAGS_quic_include_path_id_in_iv = true; | 162 bool FLAGS_quic_include_path_id_in_iv = true; |
167 | 163 |
168 // If true, make sure new incoming streams correctly cede to higher | 164 // If true, make sure new incoming streams correctly cede to higher |
169 // priority (or batch) streams when doing QUIC writes. | 165 // priority (or batch) streams when doing QUIC writes. |
170 bool FLAGS_quic_cede_correctly = true; | 166 bool FLAGS_quic_cede_correctly = true; |
171 | 167 |
172 // Has QuicCryptoProof hold a ref to the primary_config instead of storing its | 168 // Has QuicCryptoProof hold a ref to the primary_config instead of storing its |
173 // SCID. | 169 // SCID. |
174 bool FLAGS_quic_crypto_proof_use_ref = true; | 170 bool FLAGS_quic_crypto_proof_use_ref = true; |
OLD | NEW |