| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 // If true, use async codepaths to invoke ProofSource::GetProof. | 68 // If true, use async codepaths to invoke ProofSource::GetProof. |
| 69 QUIC_FLAG(bool, FLAGS_enable_async_get_proof, false) | 69 QUIC_FLAG(bool, FLAGS_enable_async_get_proof, false) |
| 70 | 70 |
| 71 // If true, requires handshake confirmations for all QUIC handshakes with | 71 // If true, requires handshake confirmations for all QUIC handshakes with |
| 72 // versions less than 33. | 72 // versions less than 33. |
| 73 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation_pre33, false) | 73 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation_pre33, false) |
| 74 | 74 |
| 75 // If true, defer creation of new connection till its CHLO arrives. | 75 // If true, defer creation of new connection till its CHLO arrives. |
| 76 QUIC_FLAG(bool, FLAGS_quic_buffer_packet_till_chlo, true) | 76 QUIC_FLAG(bool, FLAGS_quic_buffer_packet_till_chlo, true) |
| 77 | 77 |
| 78 // If true, disables QUIC version less than 32. | |
| 79 QUIC_FLAG(bool, FLAGS_quic_disable_pre_32, true) | |
| 80 | |
| 81 // If true, QUIC will enforce the MTU limit for connections that may require a | 78 // If true, QUIC will enforce the MTU limit for connections that may require a |
| 82 // small MTU. | 79 // small MTU. |
| 83 QUIC_FLAG(bool, FLAGS_quic_enforce_mtu_limit, false) | 80 QUIC_FLAG(bool, FLAGS_quic_enforce_mtu_limit, false) |
| 84 | 81 |
| 85 // Disable MTU probing if MTU probe causes ERR_MSG_TOO_BIG instead of aborting | 82 // Disable MTU probing if MTU probe causes ERR_MSG_TOO_BIG instead of aborting |
| 86 // the connection. | 83 // the connection. |
| 87 QUIC_FLAG(bool, FLAGS_graceful_emsgsize_on_mtu_probe, true) | 84 QUIC_FLAG(bool, FLAGS_graceful_emsgsize_on_mtu_probe, true) |
| 88 | 85 |
| 89 // If true, only open limited number of quic sessions per epoll event. Leave the | 86 // If true, only open limited number of quic sessions per epoll event. Leave the |
| 90 // rest to next event. This flag can be turned on only if | 87 // rest to next event. This flag can be turned on only if |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 QUIC_FLAG(bool, FLAGS_quic_conservative_handshake_retransmits, true) | 144 QUIC_FLAG(bool, FLAGS_quic_conservative_handshake_retransmits, true) |
| 148 | 145 |
| 149 // If true, buffer packets while parsing public headers instead of parsing down | 146 // If true, buffer packets while parsing public headers instead of parsing down |
| 150 // if CHLO is already buffered. | 147 // if CHLO is already buffered. |
| 151 QUIC_FLAG(bool, FLAGS_quic_buffer_packets_after_chlo, false) | 148 QUIC_FLAG(bool, FLAGS_quic_buffer_packets_after_chlo, false) |
| 152 | 149 |
| 153 // Previously QUIC didn't register a packet as received until it was fully | 150 // Previously QUIC didn't register a packet as received until it was fully |
| 154 // processed, but now that flow control is implemented, it can be received once | 151 // processed, but now that flow control is implemented, it can be received once |
| 155 // decrypted. | 152 // decrypted. |
| 156 QUIC_FLAG(bool, FLAGS_quic_receive_packet_once_decrypted, false) | 153 QUIC_FLAG(bool, FLAGS_quic_receive_packet_once_decrypted, false) |
| OLD | NEW |