| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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. | 65 // If true, re-enables QUIC_VERSION_36. |
| 66 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_36_v3, true) | 66 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_version_36_v3, true) |
| 67 | 67 |
| 68 // If true, use async codepaths to invoke ProofSource::GetProof. | |
| 69 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_enable_async_get_proof, true) | |
| 70 | |
| 71 // If true, only open limited number of quic sessions per epoll event. Leave the | 68 // If true, only open limited number of quic sessions per epoll event. Leave the |
| 72 // rest to next event. | 69 // rest to next event. |
| 73 QUIC_FLAG(bool, | 70 QUIC_FLAG(bool, |
| 74 FLAGS_quic_reloadable_flag_quic_limit_num_new_sessions_per_epoll_loop, | 71 FLAGS_quic_reloadable_flag_quic_limit_num_new_sessions_per_epoll_loop, |
| 75 true) | 72 true) |
| 76 | 73 |
| 77 // Only close the connection on the 5th RTO client side when the 5RTO option | |
| 78 // is enabled. | |
| 79 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_only_5rto_client_side, false) | |
| 80 | |
| 81 // If true, QUIC server push will enabled by default. | 74 // If true, QUIC server push will enabled by default. |
| 82 QUIC_FLAG(bool, | 75 QUIC_FLAG(bool, |
| 83 FLAGS_quic_reloadable_flag_quic_enable_server_push_by_default, | 76 FLAGS_quic_reloadable_flag_quic_enable_server_push_by_default, |
| 84 true) | 77 true) |
| 85 | 78 |
| 86 // Allow large send deltas to be used as RTT samples. | 79 // Allow large send deltas to be used as RTT samples. |
| 87 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_allow_large_send_deltas, true) | 80 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_allow_large_send_deltas, true) |
| 88 | 81 |
| 89 // If true, release QuicCryptoStream\'s read buffer when stream are less | 82 // If true, release QuicCryptoStream\'s read buffer when stream are less |
| 90 // frequently used. | 83 // frequently used. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 FLAGS_quic_reloadable_flag_quic_limit_uncompressed_headers, | 122 FLAGS_quic_reloadable_flag_quic_limit_uncompressed_headers, |
| 130 false) | 123 false) |
| 131 | 124 |
| 132 // If true, release headers stream\'s sequencer buffer when there is no active | 125 // If true, release headers stream\'s sequencer buffer when there is no active |
| 133 // stream. | 126 // stream. |
| 134 QUIC_FLAG( | 127 QUIC_FLAG( |
| 135 bool, | 128 bool, |
| 136 FLAGS_quic_reloadable_flag_quic_headers_stream_release_sequencer_buffer, | 129 FLAGS_quic_reloadable_flag_quic_headers_stream_release_sequencer_buffer, |
| 137 true) | 130 true) |
| 138 | 131 |
| 139 // Set the retransmission alarm only when there are unacked | |
| 140 // retransmittable packets. | |
| 141 QUIC_FLAG( | |
| 142 bool, | |
| 143 FLAGS_quic_reloadable_flag_quic_more_conservative_retransmission_alarm, | |
| 144 true) | |
| 145 | |
| 146 // Enable QUIC force HOL blocking experiment. | 132 // Enable QUIC force HOL blocking experiment. |
| 147 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_force_hol_blocking, true) | 133 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_force_hol_blocking, true) |
| 148 | 134 |
| 149 // If true, allows packets to be buffered in anticipation of a future CHLO, and | 135 // If true, allows packets to be buffered in anticipation of a future CHLO, and |
| 150 // allow CHLO packets to be buffered until next iteration of the event loop. | 136 // allow CHLO packets to be buffered until next iteration of the event loop. |
| 151 QUIC_FLAG(bool, FLAGS_quic_allow_chlo_buffering, true) | 137 QUIC_FLAG(bool, FLAGS_quic_allow_chlo_buffering, true) |
| 152 | 138 |
| 153 // If true, fix version manager bug, in which version flag does not really | 139 // If true, fix version manager bug, in which version flag does not really |
| 154 // help. | 140 // help. |
| 155 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_version_manager, true) | 141 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_version_manager, true) |
| (...skipping 10 matching lines...) Expand all Loading... |
| 166 // beginning of a connection. | 152 // beginning of a connection. |
| 167 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_send_max_header_list_size, true) | 153 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_send_max_header_list_size, true) |
| 168 | 154 |
| 169 // If true, fix quantization of CubicBytes while performing convex increases. | 155 // If true, fix quantization of CubicBytes while performing convex increases. |
| 170 QUIC_FLAG(bool, | 156 QUIC_FLAG(bool, |
| 171 FLAGS_quic_reloadable_flag_quic_fix_cubic_bytes_quantization, | 157 FLAGS_quic_reloadable_flag_quic_fix_cubic_bytes_quantization, |
| 172 false) | 158 false) |
| 173 | 159 |
| 174 // If true, QUIC cubic code will use the event time when adjusting CWND after an | 160 // If true, QUIC cubic code will use the event time when adjusting CWND after an |
| 175 // ACK instead of the clock\'s current approximate time. | 161 // ACK instead of the clock\'s current approximate time. |
| 176 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_use_event_time, false) | 162 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_use_event_time, true) |
| 177 | 163 |
| 178 // If true, lazy allocate and early release memeory used in | 164 // If true, lazy allocate and early release memeory used in |
| 179 // QuicStreamSequencerBuffer to buffer incoming data. | 165 // QuicStreamSequencerBuffer to buffer incoming data. |
| 180 QUIC_FLAG( | 166 QUIC_FLAG( |
| 181 bool, | 167 bool, |
| 182 FLAGS_quic_reloadable_flag_quic_reduce_sequencer_buffer_memory_life_time, | 168 FLAGS_quic_reloadable_flag_quic_reduce_sequencer_buffer_memory_life_time, |
| 183 true) | 169 true) |
| 184 | 170 |
| 185 // If true, Makes GFE respect the connection options for initial flow control | 171 // If true, Makes GFE respect the connection options for initial flow control |
| 186 // window larger than 32 KB. | 172 // window larger than 32 KB. |
| (...skipping 10 matching lines...) Expand all Loading... |
| 197 | 183 |
| 198 // Allow quic to properly support proxying 100 Continue responses. | 184 // Allow quic to properly support proxying 100 Continue responses. |
| 199 QUIC_FLAG(bool, FLAGS_quic_restart_flag_quic_supports_100_continue, false) | 185 QUIC_FLAG(bool, FLAGS_quic_restart_flag_quic_supports_100_continue, false) |
| 200 | 186 |
| 201 // If true, enable quic version 38 | 187 // If true, enable quic version 38 |
| 202 QUIC_FLAG(bool, FLAGS_quic_enable_version_38, false) | 188 QUIC_FLAG(bool, FLAGS_quic_enable_version_38, false) |
| 203 | 189 |
| 204 // When true, ensures the session's flow control window is always at least 1.5x | 190 // When true, ensures the session's flow control window is always at least 1.5x |
| 205 // larger than the largest stream flow control window. | 191 // larger than the largest stream flow control window. |
| 206 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_flow_control_invariant, false) | 192 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_flow_control_invariant, false) |
| OLD | NEW |