| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 // too large. | 76 // too large. |
| 77 QUIC_FLAG(bool, FLAGS_quic_close_connection_on_packet_too_large, true) | 77 QUIC_FLAG(bool, FLAGS_quic_close_connection_on_packet_too_large, true) |
| 78 | 78 |
| 79 // If true, use the CHLO packet size, not message size when determining how | 79 // If true, use the CHLO packet size, not message size when determining how |
| 80 // large a REJ can be. | 80 // large a REJ can be. |
| 81 QUIC_FLAG(bool, FLAGS_quic_use_chlo_packet_size, true) | 81 QUIC_FLAG(bool, FLAGS_quic_use_chlo_packet_size, true) |
| 82 | 82 |
| 83 // If true, defer creation of new connection till its CHLO arrives. | 83 // If true, defer creation of new connection till its CHLO arrives. |
| 84 QUIC_FLAG(bool, FLAGS_quic_buffer_packet_till_chlo, true) | 84 QUIC_FLAG(bool, FLAGS_quic_buffer_packet_till_chlo, true) |
| 85 | 85 |
| 86 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no | |
| 87 // longer necessary. | |
| 88 QUIC_FLAG(bool, FLAGS_quic_simple_packet_number_length_2, true) | |
| 89 | |
| 90 // If true, disables QUIC version less than 32. | 86 // If true, disables QUIC version less than 32. |
| 91 QUIC_FLAG(bool, FLAGS_quic_disable_pre_32, true) | 87 QUIC_FLAG(bool, FLAGS_quic_disable_pre_32, true) |
| 92 | 88 |
| 93 // If true, QUIC will enforce the MTU limit for connections that may require a | 89 // If true, QUIC will enforce the MTU limit for connections that may require a |
| 94 // small MTU. | 90 // small MTU. |
| 95 QUIC_FLAG(bool, FLAGS_quic_enforce_mtu_limit, false) | 91 QUIC_FLAG(bool, FLAGS_quic_enforce_mtu_limit, false) |
| 96 | 92 |
| 97 // Disable MTU probing if MTU probe causes ERR_MSG_TOO_BIG instead of aborting | 93 // Disable MTU probing if MTU probe causes ERR_MSG_TOO_BIG instead of aborting |
| 98 // the connection. | 94 // the connection. |
| 99 QUIC_FLAG(bool, FLAGS_graceful_emsgsize_on_mtu_probe, true) | 95 QUIC_FLAG(bool, FLAGS_graceful_emsgsize_on_mtu_probe, true) |
| (...skipping 18 matching lines...) Expand all Loading... |
| 118 | 114 |
| 119 // If true, allow server address change if it is because of mapped ipv4 address. | 115 // If true, allow server address change if it is because of mapped ipv4 address. |
| 120 QUIC_FLAG(bool, FLAGS_quic_allow_server_address_change_for_mapped_ipv4, true) | 116 QUIC_FLAG(bool, FLAGS_quic_allow_server_address_change_for_mapped_ipv4, true) |
| 121 | 117 |
| 122 // If true, disables QUIC version less than 34. | 118 // If true, disables QUIC version less than 34. |
| 123 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) | 119 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) |
| 124 | 120 |
| 125 // When true, decode the packet number from the largest received packet, rather | 121 // When true, decode the packet number from the largest received packet, rather |
| 126 // than the most recent. | 122 // than the most recent. |
| 127 QUIC_FLAG(bool, FLAGS_quic_packet_numbers_largest_received, true) | 123 QUIC_FLAG(bool, FLAGS_quic_packet_numbers_largest_received, true) |
| OLD | NEW |