| 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, send an explicit TTL in QUIC REJ messages to mitigate client clock | |
| 90 // skew. | |
| 91 QUIC_FLAG(bool, FLAGS_quic_send_scfg_ttl, true) | |
| 92 | |
| 93 // If true, only open limited number of quic sessions per epoll event. Leave the | 89 // If true, only open limited number of quic sessions per epoll event. Leave the |
| 94 // rest to next event. This flag can be turned on only if | 90 // rest to next event. This flag can be turned on only if |
| 95 // --quic_buffer_packet_till_chlo is true. | 91 // --quic_buffer_packet_till_chlo is true. |
| 96 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, true) | 92 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, true) |
| 97 | 93 |
| 98 // If true, lazy allocate and early release memeory used in | 94 // If true, lazy allocate and early release memeory used in |
| 99 // QuicStreamSequencerBuffer to buffer incoming data. | 95 // QuicStreamSequencerBuffer to buffer incoming data. |
| 100 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, true) | 96 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, true) |
| 101 | 97 |
| 102 // If true, allow server address change if it is because of mapped ipv4 address. | 98 // If true, allow server address change if it is because of mapped ipv4 address. |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 // frequently used. | 142 // frequently used. |
| 147 QUIC_FLAG(bool, FLAGS_quic_release_crypto_stream_buffer, false) | 143 QUIC_FLAG(bool, FLAGS_quic_release_crypto_stream_buffer, false) |
| 148 | 144 |
| 149 // Use a more conservative backoff of 2x instead of 1.5x for handshake | 145 // Use a more conservative backoff of 2x instead of 1.5x for handshake |
| 150 // retransmissions, as well as a larger minimum. | 146 // retransmissions, as well as a larger minimum. |
| 151 QUIC_FLAG(bool, FLAGS_quic_conservative_handshake_retransmits, true) | 147 QUIC_FLAG(bool, FLAGS_quic_conservative_handshake_retransmits, true) |
| 152 | 148 |
| 153 // If true, buffer packets while parsing public headers instead of parsing down | 149 // If true, buffer packets while parsing public headers instead of parsing down |
| 154 // if CHLO is already buffered. | 150 // if CHLO is already buffered. |
| 155 QUIC_FLAG(bool, FLAGS_quic_buffer_packets_after_chlo, false); | 151 QUIC_FLAG(bool, FLAGS_quic_buffer_packets_after_chlo, false); |
| OLD | NEW |