| 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 // frequently used. | 77 // frequently used. |
| 78 QUIC_FLAG(bool, | 78 QUIC_FLAG(bool, |
| 79 FLAGS_quic_reloadable_flag_quic_release_crypto_stream_buffer, | 79 FLAGS_quic_reloadable_flag_quic_release_crypto_stream_buffer, |
| 80 true) | 80 true) |
| 81 | 81 |
| 82 // If true, do not override a connection in global map if exists. Only create | 82 // If true, do not override a connection in global map if exists. Only create |
| 83 // QUIC session if it is successfully inserted to the global map. Toss the | 83 // QUIC session if it is successfully inserted to the global map. Toss the |
| 84 // packet if insertion fails. | 84 // packet if insertion fails. |
| 85 QUIC_FLAG(bool, | 85 QUIC_FLAG(bool, |
| 86 FLAGS_quic_reloadable_flag_quic_create_session_after_insertion, | 86 FLAGS_quic_reloadable_flag_quic_create_session_after_insertion, |
| 87 false) | 87 true) |
| 88 | 88 |
| 89 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in | 89 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in |
| 90 // public flag. | 90 // public flag. |
| 91 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_remove_v33_hacks2, false) | 91 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_remove_v33_hacks2, false) |
| 92 | 92 |
| 93 // Enable QUIC force HOL blocking experiment. | 93 // Enable QUIC force HOL blocking experiment. |
| 94 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_force_hol_blocking, true) | 94 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_force_hol_blocking, true) |
| 95 | 95 |
| 96 // If true, allows packets to be buffered in anticipation of a future CHLO, and | 96 // If true, allows packets to be buffered in anticipation of a future CHLO, and |
| 97 // allow CHLO packets to be buffered until next iteration of the event loop. | 97 // allow CHLO packets to be buffered until next iteration of the event loop. |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 // If true, on client side, 8-byte connection ID in public header is read and | 155 // If true, on client side, 8-byte connection ID in public header is read and |
| 156 // written in big endian. | 156 // written in big endian. |
| 157 QUIC_FLAG(bool, | 157 QUIC_FLAG(bool, |
| 158 FLAGS_quic_restart_flag_quic_big_endian_connection_id_client, | 158 FLAGS_quic_restart_flag_quic_big_endian_connection_id_client, |
| 159 false) | 159 false) |
| 160 | 160 |
| 161 // If true, on server side, 8-byte connection ID in public header is read and | 161 // If true, on server side, 8-byte connection ID in public header is read and |
| 162 // written in big endian. | 162 // written in big endian. |
| 163 QUIC_FLAG(bool, | 163 QUIC_FLAG(bool, |
| 164 FLAGS_quic_restart_flag_quic_big_endian_connection_id_server, | 164 FLAGS_quic_restart_flag_quic_big_endian_connection_id_server, |
| 165 false) | 165 true) |
| 166 | 166 |
| 167 // Simplify QUIC\'s adaptive time loss detection to measure the necessary | 167 // Simplify QUIC\'s adaptive time loss detection to measure the necessary |
| 168 // reordering window for every spurious retransmit. | 168 // reordering window for every spurious retransmit. |
| 169 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_adaptive_time_loss, false) | 169 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_fix_adaptive_time_loss, false) |
| 170 | 170 |
| 171 // If true, enable random padding of size [1, 256] when response body is | 171 // If true, enable random padding of size [1, 256] when response body is |
| 172 // compressed for QUIC version >= 38. | 172 // compressed for QUIC version >= 38. |
| 173 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_random_padding, false) | 173 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_random_padding, false) |
| 174 | 174 |
| 175 // Use conservation in PROBE_BW ouside of super-unity gain and immediately | 175 // Use conservation in PROBE_BW ouside of super-unity gain and immediately |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_3rtos, false) | 212 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_3rtos, false) |
| 213 | 213 |
| 214 // If true, enable experiment for testing PCC congestion-control. | 214 // If true, enable experiment for testing PCC congestion-control. |
| 215 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_pcc, false) | 215 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_enable_pcc, false) |
| 216 | 216 |
| 217 // If true, enable QUIC v40. | 217 // If true, enable QUIC v40. |
| 218 QUIC_FLAG(bool, FLAGS_quic_enable_version_40, false) | 218 QUIC_FLAG(bool, FLAGS_quic_enable_version_40, false) |
| 219 | 219 |
| 220 // If true, use the more CPU efficient bandwidth sampler datastructure. | 220 // If true, use the more CPU efficient bandwidth sampler datastructure. |
| 221 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_faster_bandwidth_sampler, false) | 221 QUIC_FLAG(bool, FLAGS_quic_reloadable_flag_quic_faster_bandwidth_sampler, false) |
| OLD | NEW |