| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 | 45 |
| 46 // If true, multipath is enabled for the connection. | 46 // If true, multipath is enabled for the connection. |
| 47 bool FLAGS_quic_enable_multipath = false; | 47 bool FLAGS_quic_enable_multipath = false; |
| 48 | 48 |
| 49 // If true, require handshake confirmation for QUIC connections, functionally | 49 // If true, require handshake confirmation for QUIC connections, functionally |
| 50 // disabling 0-rtt handshakes. | 50 // disabling 0-rtt handshakes. |
| 51 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. | 51 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. |
| 52 bool FLAGS_quic_require_handshake_confirmation = false; | 52 bool FLAGS_quic_require_handshake_confirmation = false; |
| 53 | 53 |
| 54 // If true, Cubic's epoch is shifted when the sender is application-limited. | 54 // If true, Cubic's epoch is shifted when the sender is application-limited. |
| 55 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = true; | 55 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = false; |
| 56 | 56 |
| 57 // If true, QUIC will measure head of line (HOL) blocking due between | 57 // If true, QUIC will measure head of line (HOL) blocking due between |
| 58 // streams due to packet losses on the headers stream. The | 58 // streams due to packet losses on the headers stream. The |
| 59 // measurements will be surfaced via UMA histogram | 59 // measurements will be surfaced via UMA histogram |
| 60 // Net.QuicSession.HeadersHOLBlockedTime. | 60 // Net.QuicSession.HeadersHOLBlockedTime. |
| 61 bool FLAGS_quic_measure_headers_hol_blocking_time = true; | 61 bool FLAGS_quic_measure_headers_hol_blocking_time = true; |
| 62 | 62 |
| 63 // Disable QUIC's userspace pacing. | 63 // Disable QUIC's userspace pacing. |
| 64 bool FLAGS_quic_disable_pacing = false; | 64 bool FLAGS_quic_disable_pacing = false; |
| 65 | 65 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 // Ignore the peer's recieve buffer size and instead set max CWND based on the | 139 // Ignore the peer's recieve buffer size and instead set max CWND based on the |
| 140 // amount of data the sender is willing to have in flight. | 140 // amount of data the sender is willing to have in flight. |
| 141 bool FLAGS_quic_ignore_srbf = false; | 141 bool FLAGS_quic_ignore_srbf = false; |
| 142 | 142 |
| 143 // Allow the NPRR connection option which reduces QUIC\'s pacing rate during | 143 // Allow the NPRR connection option which reduces QUIC\'s pacing rate during |
| 144 // recovery instead of PRR. | 144 // recovery instead of PRR. |
| 145 bool FLAGS_quic_allow_noprr = true; | 145 bool FLAGS_quic_allow_noprr = true; |
| 146 | 146 |
| 147 // If true, multi-packet CHLOs are explicitly disallowed. | 147 // If true, multi-packet CHLOs are explicitly disallowed. |
| 148 bool FLAGS_quic_disallow_multi_packet_chlo = true; | 148 bool FLAGS_quic_disallow_multi_packet_chlo = true; |
| OLD | NEW |