| 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 | 63 |
| 64 // If true, QUIC will measure head of line (HOL) blocking due between | 64 // If true, QUIC will measure head of line (HOL) blocking due between |
| 65 // streams due to packet losses on the headers stream. The | 65 // streams due to packet losses on the headers stream. The |
| 66 // measurements will be surfaced via UMA histogram | 66 // measurements will be surfaced via UMA histogram |
| 67 // Net.QuicSession.HeadersHOLBlockedTime. | 67 // Net.QuicSession.HeadersHOLBlockedTime. |
| 68 bool FLAGS_quic_measure_headers_hol_blocking_time = true; | 68 bool FLAGS_quic_measure_headers_hol_blocking_time = true; |
| 69 | 69 |
| 70 // Disable QUIC's userspace pacing. | 70 // Disable QUIC's userspace pacing. |
| 71 bool FLAGS_quic_disable_pacing = false; | 71 bool FLAGS_quic_disable_pacing = false; |
| 72 | 72 |
| 73 // If true, Use QUIC's GeneralLossAlgorithm implementation instead of | |
| 74 // TcpLossAlgorithm or TimeLossAlgorithm. | |
| 75 bool FLAGS_quic_general_loss_algorithm = true; | |
| 76 | |
| 77 // If true, QUIC connections will timeout when packets are not being recieved, | 73 // If true, QUIC connections will timeout when packets are not being recieved, |
| 78 // even if they are being sent. | 74 // even if they are being sent. |
| 79 bool FLAGS_quic_use_new_idle_timeout = true; | 75 bool FLAGS_quic_use_new_idle_timeout = true; |
| 80 | 76 |
| 81 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data | 77 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data |
| 82 // structure for QuicStreamSequencer bufferring. | 78 // structure for QuicStreamSequencer bufferring. |
| 83 bool FLAGS_quic_use_stream_sequencer_buffer = true; | 79 bool FLAGS_quic_use_stream_sequencer_buffer = true; |
| 84 | 80 |
| 85 // If true, don't send QUIC packets if the send alarm is set. | 81 // If true, don't send QUIC packets if the send alarm is set. |
| 86 bool FLAGS_quic_respect_send_alarm2 = true; | 82 bool FLAGS_quic_respect_send_alarm2 = true; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 // priority (or batch) streams when doing QUIC writes. | 157 // priority (or batch) streams when doing QUIC writes. |
| 162 bool FLAGS_quic_cede_correctly = true; | 158 bool FLAGS_quic_cede_correctly = true; |
| 163 | 159 |
| 164 // Has QuicCryptoProof hold a ref to the primary_config instead of storing its | 160 // Has QuicCryptoProof hold a ref to the primary_config instead of storing its |
| 165 // SCID. | 161 // SCID. |
| 166 bool FLAGS_quic_crypto_proof_use_ref = true; | 162 bool FLAGS_quic_crypto_proof_use_ref = true; |
| 167 | 163 |
| 168 // If on, max number of incoming and outgoing streams will be different. | 164 // If on, max number of incoming and outgoing streams will be different. |
| 169 // Incoming will be a little higher than outgoing to tolerate race condition. | 165 // Incoming will be a little higher than outgoing to tolerate race condition. |
| 170 bool FLAGS_quic_different_max_num_open_streams = true; | 166 bool FLAGS_quic_different_max_num_open_streams = true; |
| 167 |
| 168 // If true, QUIC should correctly report if it supports ChaCha20. Otherwise, |
| 169 // QUIC will lie and claim that it does not support ChaCha20. The primary use |
| 170 // case for this is places where ChaCha20 is prohibitively expensive compared to |
| 171 // AES-GCM. |
| 172 bool FLAGS_quic_crypto_server_config_default_has_chacha20 = true; |
| 173 |
| 174 // If true, checking for peer address change is postponed after the packet gets |
| 175 // decrypted. |
| 176 bool FLAGS_check_peer_address_change_after_decryption = true; |
| OLD | NEW |