| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 QUIC_FLAG(bool, | 55 QUIC_FLAG(bool, |
| 56 FLAGS_quic_reloadable_flag_quic_use_cheap_stateless_rejects, | 56 FLAGS_quic_reloadable_flag_quic_use_cheap_stateless_rejects, |
| 57 true) | 57 true) |
| 58 | 58 |
| 59 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the | 59 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the |
| 60 // connection. | 60 // connection. |
| 61 QUIC_FLAG(bool, | 61 QUIC_FLAG(bool, |
| 62 FLAGS_quic_reloadable_flag_quic_respect_http2_settings_frame, | 62 FLAGS_quic_reloadable_flag_quic_respect_http2_settings_frame, |
| 63 true) | 63 true) |
| 64 | 64 |
| 65 // If true, re-enables QUIC_VERSION_36. | |
| 66 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_36_v3, true) | |
| 67 | |
| 68 // If true, only open limited number of quic sessions per epoll event. Leave the | 65 // If true, only open limited number of quic sessions per epoll event. Leave the |
| 69 // rest to next event. | 66 // rest to next event. |
| 70 QUIC_FLAG(bool, | 67 QUIC_FLAG(bool, |
| 71 FLAGS_quic_reloadable_flag_quic_limit_num_new_sessions_per_epoll_loop, | 68 FLAGS_quic_reloadable_flag_quic_limit_num_new_sessions_per_epoll_loop, |
| 72 true) | 69 true) |
| 73 | 70 |
| 74 // If true, QUIC server push will enabled by default. | 71 // If true, QUIC server push will enabled by default. |
| 75 QUIC_FLAG(bool, | 72 QUIC_FLAG(bool, |
| 76 FLAGS_quic_reloadable_flag_quic_enable_server_push_by_default, | 73 FLAGS_quic_reloadable_flag_quic_enable_server_push_by_default, |
| 77 true) | 74 true) |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_send_max_header_list_size, true) | 112 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_send_max_header_list_size, true) |
| 116 | 113 |
| 117 // If true, fix quantization of CubicBytes while performing convex increases. | 114 // If true, fix quantization of CubicBytes while performing convex increases. |
| 118 QUIC_FLAG(bool, | 115 QUIC_FLAG(bool, |
| 119 FLAGS_quic_reloadable_flag_quic_fix_cubic_bytes_quantization, | 116 FLAGS_quic_reloadable_flag_quic_fix_cubic_bytes_quantization, |
| 120 false) | 117 false) |
| 121 | 118 |
| 122 // If true, fix Cubic\'s use of kBetaLastMax for n-connection emulation. | 119 // If true, fix Cubic\'s use of kBetaLastMax for n-connection emulation. |
| 123 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_beta_last_max, false) | 120 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_beta_last_max, false) |
| 124 | 121 |
| 125 // If true, enable QUIC v37. | |
| 126 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_37, true) | |
| 127 | |
| 128 // If greater than zero, mean RTT variation is multiplied by the specified | 122 // If greater than zero, mean RTT variation is multiplied by the specified |
| 129 // factor and added to the congestion window limit. | 123 // factor and added to the congestion window limit. |
| 130 QUIC_FLAG(double, FLAGS_quic_bbr_rtt_variation_weight, 0.0f) | 124 QUIC_FLAG(double, FLAGS_quic_bbr_rtt_variation_weight, 0.0f) |
| 131 | 125 |
| 132 // Congestion window gain for QUIC BBR during PROBE_BW phase. | 126 // Congestion window gain for QUIC BBR during PROBE_BW phase. |
| 133 QUIC_FLAG(double, FLAGS_quic_bbr_cwnd_gain, 2.0f) | 127 QUIC_FLAG(double, FLAGS_quic_bbr_cwnd_gain, 2.0f) |
| 134 | 128 |
| 135 // If true, bidi streaming is always enabled in QUIC. | 129 // If true, bidi streaming is always enabled in QUIC. |
| 136 QUIC_FLAG(bool, | 130 QUIC_FLAG(bool, |
| 137 FLAGS_quic_reloadable_flag_quic_always_enable_bidi_streaming, | 131 FLAGS_quic_reloadable_flag_quic_always_enable_bidi_streaming, |
| 138 true) | 132 true) |
| 139 | 133 |
| 140 // If true, allows the 1RTT and 2RTT connection options to reduce the time | 134 // If true, allows the 1RTT and 2RTT connection options to reduce the time |
| 141 // in BBR STARTUP to 1 or 2 RTTs with no bandwidth increase from 3. | 135 // in BBR STARTUP to 1 or 2 RTTs with no bandwidth increase from 3. |
| 142 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_allow_2_rtt_bbr_startup, false) | 136 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_allow_2_rtt_bbr_startup, true) |
| 143 | 137 |
| 144 // If true, do not send or process stop waiting frames in QUIC if the NSTP | 138 // If true, do not send or process stop waiting frames in QUIC if the NSTP |
| 145 // connection option is provided. | 139 // connection option is provided. |
| 146 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_no_stop_waiting_frames, false) | 140 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_no_stop_waiting_frames, false) |
| 147 | 141 |
| 148 // Allows one self address change. | 142 // Allows one self address change. |
| 149 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_allow_one_address_change, false) | 143 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_allow_one_address_change, false) |
| 150 | 144 |
| 151 // If true, multipath bit is not used in public flag. | 145 // If true, multipath bit is not used in public flag. |
| 152 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_remove_multipath_bit, false) | 146 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_remove_multipath_bit, false) |
| (...skipping 15 matching lines...) Expand all Loading... |
| 168 QUIC_FLAG(bool, | 162 QUIC_FLAG(bool, |
| 169 FLAGS_quic_reloadable_flag_quic_enable_cubic_per_ack_updates, | 163 FLAGS_quic_reloadable_flag_quic_enable_cubic_per_ack_updates, |
| 170 false) | 164 false) |
| 171 | 165 |
| 172 // Support bandwidth resumption in QUIC BBR. | 166 // Support bandwidth resumption in QUIC BBR. |
| 173 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_bandwidth_resumption, false) | 167 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_bandwidth_resumption, false) |
| 174 | 168 |
| 175 // Add the equivalent number of bytes as 3 TCP TSO segments to QUIC's BBR CWND. | 169 // Add the equivalent number of bytes as 3 TCP TSO segments to QUIC's BBR CWND. |
| 176 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_add_tso_cwnd, false) | 170 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_add_tso_cwnd, false) |
| 177 | 171 |
| 178 // Fix a crash that occurs when a client sends multiple CHLOs close together on | |
| 179 // the same connection. | |
| 180 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_fix_quic_callback_crash, true) | |
| 181 | |
| 182 // If true, enable version 38 which supports new PADDING frame and respects NSTP | 172 // If true, enable version 38 which supports new PADDING frame and respects NSTP |
| 183 // connection option. | 173 // connection option. |
| 184 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_38, true) | 174 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_38, true) |
| 185 | 175 |
| 186 // If true, enable QUIC v39. | 176 // If true, enable QUIC v39. |
| 187 QUIC_FLAG(bool, FLAGS_quic_enable_version_39, false) | 177 QUIC_FLAG(bool, FLAGS_quic_enable_version_39, false) |
| 188 | 178 |
| 189 // If true, on client side, 8-byte connection ID in public header is read and | 179 // If true, on client side, 8-byte connection ID in public header is read and |
| 190 // written in big endian. | 180 // written in big endian. |
| 191 QUIC_FLAG(bool, | 181 QUIC_FLAG(bool, |
| (...skipping 15 matching lines...) Expand all Loading... |
| 207 QUIC_FLAG(bool, | 197 QUIC_FLAG(bool, |
| 208 FLAGS_quic_reloadable_flag_quic_bbr_keep_sending_at_recent_rate, | 198 FLAGS_quic_reloadable_flag_quic_bbr_keep_sending_at_recent_rate, |
| 209 false) | 199 false) |
| 210 | 200 |
| 211 // Base CWND on SRTT instead of min_rtt for QUIC BBR. | 201 // Base CWND on SRTT instead of min_rtt for QUIC BBR. |
| 212 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_base_cwnd_on_srtt, false) | 202 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_bbr_base_cwnd_on_srtt, false) |
| 213 | 203 |
| 214 // If true, enable random padding of size [1, 256] when response body is | 204 // If true, enable random padding of size [1, 256] when response body is |
| 215 // compressed for QUIC version >= 38. | 205 // compressed for QUIC version >= 38. |
| 216 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_random_padding, false) | 206 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_random_padding, false) |
| OLD | NEW |