| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 // flag. | 112 // flag. |
| 113 QUIC_FLAG(bool, FLAGS_quic_remove_v33_hacks, true) | 113 QUIC_FLAG(bool, FLAGS_quic_remove_v33_hacks, true) |
| 114 | 114 |
| 115 // If true, use the CHLO packet size, not message size when determining how | 115 // If true, use the CHLO packet size, not message size when determining how |
| 116 // large a REJ can be. | 116 // large a REJ can be. |
| 117 QUIC_FLAG(bool, FLAGS_quic_use_chlo_packet_size, true) | 117 QUIC_FLAG(bool, FLAGS_quic_use_chlo_packet_size, true) |
| 118 | 118 |
| 119 // If true, defer creation of new connection till its CHLO arrives. | 119 // If true, defer creation of new connection till its CHLO arrives. |
| 120 QUIC_FLAG(bool, FLAGS_quic_buffer_packet_till_chlo, true) | 120 QUIC_FLAG(bool, FLAGS_quic_buffer_packet_till_chlo, true) |
| 121 | 121 |
| 122 // If true, the connection will check whether it is application-limited, and | |
| 123 // notify the congestion controller about it. | |
| 124 QUIC_FLAG(bool, FLAGS_quic_enable_app_limited_check, true) | |
| 125 | |
| 126 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no | 122 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no |
| 127 // longer necessary. | 123 // longer necessary. |
| 128 QUIC_FLAG(bool, FLAGS_quic_simple_packet_number_length_2, true) | 124 QUIC_FLAG(bool, FLAGS_quic_simple_packet_number_length_2, true) |
| 129 | 125 |
| 130 // If true, disables QUIC version less than 32. | 126 // If true, disables QUIC version less than 32. |
| 131 QUIC_FLAG(bool, FLAGS_quic_disable_pre_32, true) | 127 QUIC_FLAG(bool, FLAGS_quic_disable_pre_32, true) |
| 132 | 128 |
| 133 // If true, QUIC will enforce the MTU limit for connections that may require a | 129 // If true, QUIC will enforce the MTU limit for connections that may require a |
| 134 // small MTU. | 130 // small MTU. |
| 135 QUIC_FLAG(bool, FLAGS_quic_enforce_mtu_limit, false) | 131 QUIC_FLAG(bool, FLAGS_quic_enforce_mtu_limit, false) |
| (...skipping 25 matching lines...) Expand all Loading... |
| 161 | 157 |
| 162 // If true, lazy allocate and early release memeory used in | 158 // If true, lazy allocate and early release memeory used in |
| 163 // QuicStreamSequencerBuffer to buffer incoming data. | 159 // QuicStreamSequencerBuffer to buffer incoming data. |
| 164 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, true) | 160 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, true) |
| 165 | 161 |
| 166 // If true, allow server address change if it is because of mapped ipv4 address. | 162 // If true, allow server address change if it is because of mapped ipv4 address. |
| 167 QUIC_FLAG(bool, FLAGS_quic_allow_server_address_change_for_mapped_ipv4, true) | 163 QUIC_FLAG(bool, FLAGS_quic_allow_server_address_change_for_mapped_ipv4, true) |
| 168 | 164 |
| 169 // If true, disables QUIC version less than 34. | 165 // If true, disables QUIC version less than 34. |
| 170 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) | 166 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) |
| 171 | |
| OLD | NEW |