| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 // If true, lazy allocate and early release memeory used in | 83 // If true, lazy allocate and early release memeory used in |
| 84 // QuicStreamSequencerBuffer to buffer incoming data. | 84 // QuicStreamSequencerBuffer to buffer incoming data. |
| 85 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, true) | 85 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, true) |
| 86 | 86 |
| 87 // If true, allow server address change if it is because of mapped ipv4 address. | 87 // If true, allow server address change if it is because of mapped ipv4 address. |
| 88 QUIC_FLAG(bool, FLAGS_quic_allow_server_address_change_for_mapped_ipv4, true) | 88 QUIC_FLAG(bool, FLAGS_quic_allow_server_address_change_for_mapped_ipv4, true) |
| 89 | 89 |
| 90 // If true, disables QUIC version less than 34. | 90 // If true, disables QUIC version less than 34. |
| 91 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) | 91 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) |
| 92 | 92 |
| 93 // When true, decode the packet number from the largest received packet, rather | |
| 94 // than the most recent. | |
| 95 QUIC_FLAG(bool, FLAGS_quic_packet_numbers_largest_received, true) | |
| 96 | |
| 97 // Only close the connection on the 5th RTO client side when the 5RTO option | 93 // Only close the connection on the 5th RTO client side when the 5RTO option |
| 98 // is enabled. | 94 // is enabled. |
| 99 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) | 95 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) |
| 100 | 96 |
| 101 // If true, QUIC server push will enabled by default. | 97 // If true, QUIC server push will enabled by default. |
| 102 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) | 98 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) |
| 103 | 99 |
| 104 // Only inform the QuicSentPacketManager of packets that were sent, | 100 // Only inform the QuicSentPacketManager of packets that were sent, |
| 105 // not those that we tried to send. | 101 // not those that we tried to send. |
| 106 QUIC_FLAG(bool, FLAGS_quic_only_track_sent_packets, true) | 102 QUIC_FLAG(bool, FLAGS_quic_only_track_sent_packets, true) |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 // If true, rejected packet number is removed from public reset packet. | 151 // If true, rejected packet number is removed from public reset packet. |
| 156 QUIC_FLAG(bool, FLAGS_quic_remove_packet_number_from_public_reset, false) | 152 QUIC_FLAG(bool, FLAGS_quic_remove_packet_number_from_public_reset, false) |
| 157 | 153 |
| 158 // If true, will send QUIC_PUSH_STREAM_TIMED_OUT when push stream is unclaimed | 154 // If true, will send QUIC_PUSH_STREAM_TIMED_OUT when push stream is unclaimed |
| 159 // and times out. | 155 // and times out. |
| 160 QUIC_FLAG(bool, FLAGS_quic_send_push_stream_timed_out_error, true) | 156 QUIC_FLAG(bool, FLAGS_quic_send_push_stream_timed_out_error, true) |
| 161 | 157 |
| 162 // If true, enable bugfix for FHOL experiment (fin-only | 158 // If true, enable bugfix for FHOL experiment (fin-only |
| 163 // WritevStreamData). | 159 // WritevStreamData). |
| 164 QUIC_FLAG(bool, FLAGS_quic_bugfix_fhol_writev_fin_only_v2, true) | 160 QUIC_FLAG(bool, FLAGS_quic_bugfix_fhol_writev_fin_only_v2, true) |
| OLD | NEW |