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 // This file intentionally does not have header guards, it's included | 5 // This file intentionally does not have header guards, it's included |
6 // inside a macro to generate values. | 6 // inside a macro to generate values. |
7 | 7 |
8 // This file contains the list of QUIC protocol flags. | 8 // This file contains the list of QUIC protocol flags. |
9 | 9 |
10 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC | 10 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 QUIC_FLAG(bool, FLAGS_quic_disable_pre_32, true) | 79 QUIC_FLAG(bool, FLAGS_quic_disable_pre_32, true) |
80 | 80 |
81 // If true, QUIC will enforce the MTU limit for connections that may require a | 81 // If true, QUIC will enforce the MTU limit for connections that may require a |
82 // small MTU. | 82 // small MTU. |
83 QUIC_FLAG(bool, FLAGS_quic_enforce_mtu_limit, false) | 83 QUIC_FLAG(bool, FLAGS_quic_enforce_mtu_limit, false) |
84 | 84 |
85 // Disable MTU probing if MTU probe causes ERR_MSG_TOO_BIG instead of aborting | 85 // Disable MTU probing if MTU probe causes ERR_MSG_TOO_BIG instead of aborting |
86 // the connection. | 86 // the connection. |
87 QUIC_FLAG(bool, FLAGS_graceful_emsgsize_on_mtu_probe, true) | 87 QUIC_FLAG(bool, FLAGS_graceful_emsgsize_on_mtu_probe, true) |
88 | 88 |
89 // If true, set a QUIC connection's last_sent_for_timeout_ to the send time of | |
90 // the first packet sent after receiving a packet, even if the sent packet is | |
91 // a retransmission | |
92 QUIC_FLAG(bool, FLAGS_quic_better_last_send_for_timeout, true) | |
93 | |
94 // If true, send an explicit TTL in QUIC REJ messages to mitigate client clock | 89 // If true, send an explicit TTL in QUIC REJ messages to mitigate client clock |
95 // skew. | 90 // skew. |
96 QUIC_FLAG(bool, FLAGS_quic_send_scfg_ttl, true) | 91 QUIC_FLAG(bool, FLAGS_quic_send_scfg_ttl, true) |
97 | 92 |
98 // If true, only open limited number of quic sessions per epoll event. Leave the | 93 // If true, only open limited number of quic sessions per epoll event. Leave the |
99 // rest to next event. This flag can be turned on only if | 94 // rest to next event. This flag can be turned on only if |
100 // --quic_buffer_packet_till_chlo is true. | 95 // --quic_buffer_packet_till_chlo is true. |
101 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, true) | 96 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, true) |
102 | 97 |
103 // If true, lazy allocate and early release memeory used in | 98 // If true, lazy allocate and early release memeory used in |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 // frequently used. | 146 // frequently used. |
152 QUIC_FLAG(bool, FLAGS_quic_release_crypto_stream_buffer, false) | 147 QUIC_FLAG(bool, FLAGS_quic_release_crypto_stream_buffer, false) |
153 | 148 |
154 // Use a more conservative backoff of 2x instead of 1.5x for handshake | 149 // Use a more conservative backoff of 2x instead of 1.5x for handshake |
155 // retransmissions, as well as a larger minimum. | 150 // retransmissions, as well as a larger minimum. |
156 QUIC_FLAG(bool, FLAGS_quic_conservative_handshake_retransmits, true) | 151 QUIC_FLAG(bool, FLAGS_quic_conservative_handshake_retransmits, true) |
157 | 152 |
158 // If true, buffer packets while parsing public headers instead of parsing down | 153 // If true, buffer packets while parsing public headers instead of parsing down |
159 // if CHLO is already buffered. | 154 // if CHLO is already buffered. |
160 QUIC_FLAG(bool, FLAGS_quic_buffer_packets_after_chlo, false); | 155 QUIC_FLAG(bool, FLAGS_quic_buffer_packets_after_chlo, false); |
OLD | NEW |