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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 // If true, QUIC will measure head of line (HOL) blocking due between | 56 // If true, QUIC will measure head of line (HOL) blocking due between |
57 // streams due to packet losses on the headers stream. The | 57 // streams due to packet losses on the headers stream. The |
58 // measurements will be surfaced via UMA histogram | 58 // measurements will be surfaced via UMA histogram |
59 // Net.QuicSession.HeadersHOLBlockedTime. | 59 // Net.QuicSession.HeadersHOLBlockedTime. |
60 bool FLAGS_quic_measure_headers_hol_blocking_time = true; | 60 bool FLAGS_quic_measure_headers_hol_blocking_time = true; |
61 | 61 |
62 // Disable QUIC's userspace pacing. | 62 // Disable QUIC's userspace pacing. |
63 bool FLAGS_quic_disable_pacing = false; | 63 bool FLAGS_quic_disable_pacing = false; |
64 | 64 |
65 // If true, don't send QUIC packets if the send alarm is set. | |
66 bool FLAGS_quic_respect_send_alarm2 = true; | |
67 | |
68 // If true, Close the connection instead of writing unencrypted stream data. | 65 // If true, Close the connection instead of writing unencrypted stream data. |
69 bool FLAGS_quic_never_write_unencrypted_data = true; | 66 bool FLAGS_quic_never_write_unencrypted_data = true; |
70 | 67 |
71 // If true, reject any incoming QUIC which does not have the FIXD tag. | 68 // If true, reject any incoming QUIC which does not have the FIXD tag. |
72 bool FLAGS_quic_require_fix = true; | 69 bool FLAGS_quic_require_fix = true; |
73 | 70 |
74 // If true, headers stream will support receiving PUSH_PROMISE frames. | 71 // If true, headers stream will support receiving PUSH_PROMISE frames. |
75 bool FLAGS_quic_supports_push_promise = false; | 72 bool FLAGS_quic_supports_push_promise = false; |
76 | 73 |
77 // When turn on, log packet loss into transport connection stats LossEvent. | 74 // When turn on, log packet loss into transport connection stats LossEvent. |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 // Enable a connection option allowing connections to time out if more than 5 | 131 // Enable a connection option allowing connections to time out if more than 5 |
135 // consecutive RTOs are sent. | 132 // consecutive RTOs are sent. |
136 bool FLAGS_quic_enable_rto_timeout = true; | 133 bool FLAGS_quic_enable_rto_timeout = true; |
137 | 134 |
138 // Do not limit the max CWND to 200 packets in QUIC. | 135 // Do not limit the max CWND to 200 packets in QUIC. |
139 bool FLAGS_quic_dont_limit_max_cwnd = true; | 136 bool FLAGS_quic_dont_limit_max_cwnd = true; |
140 | 137 |
141 // Don't copy QuicAckFrame or QuicStopWaitingFrame into the | 138 // Don't copy QuicAckFrame or QuicStopWaitingFrame into the |
142 // QuicPacketGenerator. | 139 // QuicPacketGenerator. |
143 bool FLAGS_quic_dont_copy_acks = true; | 140 bool FLAGS_quic_dont_copy_acks = true; |
OLD | NEW |