| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 // If true, only open limited number of quic sessions per epoll event. Leave the | 78 // If true, only open limited number of quic sessions per epoll event. Leave the |
| 79 // rest to next event. This flag can be turned on only if | 79 // rest to next event. This flag can be turned on only if |
| 80 // --quic_buffer_packet_till_chlo is true. | 80 // --quic_buffer_packet_till_chlo is true. |
| 81 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, true) | 81 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, true) |
| 82 | 82 |
| 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. | |
| 88 QUIC_FLAG(bool, FLAGS_quic_allow_server_address_change_for_mapped_ipv4, true) | |
| 89 | |
| 90 // If true, disables QUIC version less than 34. | 87 // If true, disables QUIC version less than 34. |
| 91 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) | 88 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) |
| 92 | 89 |
| 93 // Only close the connection on the 5th RTO client side when the 5RTO option | 90 // Only close the connection on the 5th RTO client side when the 5RTO option |
| 94 // is enabled. | 91 // is enabled. |
| 95 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) | 92 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) |
| 96 | 93 |
| 97 // If true, QUIC server push will enabled by default. | 94 // If true, QUIC server push will enabled by default. |
| 98 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) | 95 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) |
| 99 | 96 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 // If true, rejected packet number is removed from public reset packet. | 148 // If true, rejected packet number is removed from public reset packet. |
| 152 QUIC_FLAG(bool, FLAGS_quic_remove_packet_number_from_public_reset, false) | 149 QUIC_FLAG(bool, FLAGS_quic_remove_packet_number_from_public_reset, false) |
| 153 | 150 |
| 154 // If true, will send QUIC_PUSH_STREAM_TIMED_OUT when push stream is unclaimed | 151 // If true, will send QUIC_PUSH_STREAM_TIMED_OUT when push stream is unclaimed |
| 155 // and times out. | 152 // and times out. |
| 156 QUIC_FLAG(bool, FLAGS_quic_send_push_stream_timed_out_error, true) | 153 QUIC_FLAG(bool, FLAGS_quic_send_push_stream_timed_out_error, true) |
| 157 | 154 |
| 158 // If true, enable bugfix for FHOL experiment (fin-only | 155 // If true, enable bugfix for FHOL experiment (fin-only |
| 159 // WritevStreamData). | 156 // WritevStreamData). |
| 160 QUIC_FLAG(bool, FLAGS_quic_bugfix_fhol_writev_fin_only_v2, true) | 157 QUIC_FLAG(bool, FLAGS_quic_bugfix_fhol_writev_fin_only_v2, true) |
| OLD | NEW |