| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the | 54 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the |
| 55 // connection. | 55 // connection. |
| 56 QUIC_FLAG(bool, FLAGS_quic_respect_http2_settings_frame, true) | 56 QUIC_FLAG(bool, FLAGS_quic_respect_http2_settings_frame, true) |
| 57 | 57 |
| 58 // If true, re-enables QUIC_VERSION_36. | 58 // If true, re-enables QUIC_VERSION_36. |
| 59 QUIC_FLAG(bool, FLAGS_quic_enable_version_36_v3, false) | 59 QUIC_FLAG(bool, FLAGS_quic_enable_version_36_v3, false) |
| 60 | 60 |
| 61 // If true, use async codepaths to invoke ProofSource::GetProof. | 61 // If true, use async codepaths to invoke ProofSource::GetProof. |
| 62 QUIC_FLAG(bool, FLAGS_enable_async_get_proof, false) | 62 QUIC_FLAG(bool, FLAGS_enable_async_get_proof, false) |
| 63 | 63 |
| 64 // If true, requires handshake confirmations for all QUIC handshakes with | |
| 65 // versions less than 33. | |
| 66 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation_pre33, false) | |
| 67 | |
| 68 // If true, only open limited number of quic sessions per epoll event. Leave the | 64 // If true, only open limited number of quic sessions per epoll event. Leave the |
| 69 // rest to next event. | 65 // rest to next event. |
| 70 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, true) | 66 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, true) |
| 71 | 67 |
| 72 // Only close the connection on the 5th RTO client side when the 5RTO option | 68 // Only close the connection on the 5th RTO client side when the 5RTO option |
| 73 // is enabled. | 69 // is enabled. |
| 74 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, false) | 70 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, false) |
| 75 | 71 |
| 76 // If true, QUIC server push will enabled by default. | 72 // If true, QUIC server push will enabled by default. |
| 77 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) | 73 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 // help. | 141 // help. |
| 146 QUIC_FLAG(bool, FLAGS_quic_fix_version_manager, false) | 142 QUIC_FLAG(bool, FLAGS_quic_fix_version_manager, false) |
| 147 | 143 |
| 148 // Add a new client connection options field to QuicOptions which is only used | 144 // Add a new client connection options field to QuicOptions which is only used |
| 149 // to configure client side features, such as congestion control. | 145 // to configure client side features, such as congestion control. |
| 150 QUIC_FLAG(bool, FLAGS_quic_client_connection_options, true) | 146 QUIC_FLAG(bool, FLAGS_quic_client_connection_options, true) |
| 151 | 147 |
| 152 // If true, fix some casts that were causing off-by-one errors in QUIC's cubic | 148 // If true, fix some casts that were causing off-by-one errors in QUIC's cubic |
| 153 // "convex" increases. | 149 // "convex" increases. |
| 154 QUIC_FLAG(bool, FLAGS_quic_fix_cubic_convex_mode, true) | 150 QUIC_FLAG(bool, FLAGS_quic_fix_cubic_convex_mode, true) |
| OLD | NEW |