| 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/core/quic_flags.h" | 5 #include "net/quic/core/quic_flags.h" |
| 6 | 6 |
| 7 // If true, it will return as soon as an error is detected while validating | 7 // If true, it will return as soon as an error is detected while validating |
| 8 // CHLO. | 8 // CHLO. |
| 9 bool FLAGS_use_early_return_when_verifying_chlo = true; | 9 bool FLAGS_use_early_return_when_verifying_chlo = true; |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 // If true, multipath is enabled for the connection. | 36 // If true, multipath is enabled for the connection. |
| 37 bool FLAGS_quic_enable_multipath = false; | 37 bool FLAGS_quic_enable_multipath = false; |
| 38 | 38 |
| 39 // If true, require handshake confirmation for QUIC connections, functionally | 39 // If true, require handshake confirmation for QUIC connections, functionally |
| 40 // disabling 0-rtt handshakes. | 40 // disabling 0-rtt handshakes. |
| 41 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. | 41 // TODO(rtenneti): Enable this flag after CryptoServerTest's are fixed. |
| 42 bool FLAGS_quic_require_handshake_confirmation = false; | 42 bool FLAGS_quic_require_handshake_confirmation = false; |
| 43 | 43 |
| 44 // If true, Cubic's epoch is shifted when the sender is application-limited. | 44 // If true, Cubic's epoch is shifted when the sender is application-limited. |
| 45 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = true; | 45 bool FLAGS_shift_quic_cubic_epoch_when_app_limited = false; |
| 46 | 46 |
| 47 // If true, QUIC will measure head of line (HOL) blocking due between | 47 // If true, QUIC will measure head of line (HOL) blocking due between |
| 48 // streams due to packet losses on the headers stream. The | 48 // streams due to packet losses on the headers stream. The |
| 49 // measurements will be surfaced via UMA histogram | 49 // measurements will be surfaced via UMA histogram |
| 50 // Net.QuicSession.HeadersHOLBlockedTime. | 50 // Net.QuicSession.HeadersHOLBlockedTime. |
| 51 bool FLAGS_quic_measure_headers_hol_blocking_time = true; | 51 bool FLAGS_quic_measure_headers_hol_blocking_time = true; |
| 52 | 52 |
| 53 // If true, disable pacing in QUIC. | 53 // If true, disable pacing in QUIC. |
| 54 bool FLAGS_quic_disable_pacing_for_perf_tests = false; | 54 bool FLAGS_quic_disable_pacing_for_perf_tests = false; |
| 55 | 55 |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 // longer necessary. | 163 // longer necessary. |
| 164 bool FLAGS_quic_simple_packet_number_length_2 = true; | 164 bool FLAGS_quic_simple_packet_number_length_2 = true; |
| 165 | 165 |
| 166 // If true, disables QUIC version less than 32. | 166 // If true, disables QUIC version less than 32. |
| 167 bool FLAGS_quic_disable_pre_32 = true; | 167 bool FLAGS_quic_disable_pre_32 = true; |
| 168 | 168 |
| 169 // If true, set a QUIC connection's last_sent_for_timeout_ to the send time of | 169 // If true, set a QUIC connection's last_sent_for_timeout_ to the send time of |
| 170 // the first packet sent after receiving a packet, even if the sent packet is | 170 // the first packet sent after receiving a packet, even if the sent packet is |
| 171 // a retransmission | 171 // a retransmission |
| 172 bool FLAGS_quic_better_last_send_for_timeout = true; | 172 bool FLAGS_quic_better_last_send_for_timeout = true; |
| OLD | NEW |