| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 QUIC_FLAG(bool, FLAGS_enable_async_get_proof, false) | 65 QUIC_FLAG(bool, FLAGS_enable_async_get_proof, false) |
| 66 | 66 |
| 67 // If true, requires handshake confirmations for all QUIC handshakes with | 67 // If true, requires handshake confirmations for all QUIC handshakes with |
| 68 // versions less than 33. | 68 // versions less than 33. |
| 69 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation_pre33, false) | 69 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation_pre33, false) |
| 70 | 70 |
| 71 // If true, only open limited number of quic sessions per epoll event. Leave the | 71 // If true, only open limited number of quic sessions per epoll event. Leave the |
| 72 // rest to next event. | 72 // rest to next event. |
| 73 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, true) | 73 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, true) |
| 74 | 74 |
| 75 // If true, disables QUIC version less than 34. | |
| 76 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, true) | |
| 77 | |
| 78 // Only close the connection on the 5th RTO client side when the 5RTO option | 75 // Only close the connection on the 5th RTO client side when the 5RTO option |
| 79 // is enabled. | 76 // is enabled. |
| 80 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) | 77 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) |
| 81 | 78 |
| 82 // If true, QUIC server push will enabled by default. | 79 // If true, QUIC server push will enabled by default. |
| 83 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) | 80 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) |
| 84 | 81 |
| 85 // If true, export reject reasons for all rejects, i.e., rejects, | 82 // If true, export reject reasons for all rejects, i.e., rejects, |
| 86 // stateless rejects and cheap stateless rejects. | 83 // stateless rejects and cheap stateless rejects. |
| 87 QUIC_FLAG(bool, FLAGS_quic_export_rej_for_all_rejects, true) | 84 QUIC_FLAG(bool, FLAGS_quic_export_rej_for_all_rejects, true) |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 // If enabled, fix double call of | 144 // If enabled, fix double call of |
| 148 // InsertLocallyClosedStreamsHighestOffset in ResetPromised. | 145 // InsertLocallyClosedStreamsHighestOffset in ResetPromised. |
| 149 QUIC_FLAG(bool, FLAGS_quic_bugfix_reset_promised, true) | 146 QUIC_FLAG(bool, FLAGS_quic_bugfix_reset_promised, true) |
| 150 | 147 |
| 151 // Set the retransmission alarm only when there are unacked | 148 // Set the retransmission alarm only when there are unacked |
| 152 // retransmittable packets. | 149 // retransmittable packets. |
| 153 QUIC_FLAG(bool, FLAGS_quic_more_conservative_retransmission_alarm, true) | 150 QUIC_FLAG(bool, FLAGS_quic_more_conservative_retransmission_alarm, true) |
| 154 | 151 |
| 155 // Enable QUIC force HOL blocking experiment. | 152 // Enable QUIC force HOL blocking experiment. |
| 156 QUIC_FLAG(bool, FLAGS_quic_enable_force_hol_blocking, true) | 153 QUIC_FLAG(bool, FLAGS_quic_enable_force_hol_blocking, true) |
| OLD | NEW |