| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 // If true, re-enables QUIC_VERSION_36. | 61 // If true, re-enables QUIC_VERSION_36. |
| 62 QUIC_FLAG(bool, FLAGS_quic_enable_version_36_v2, true) | 62 QUIC_FLAG(bool, FLAGS_quic_enable_version_36_v2, true) |
| 63 | 63 |
| 64 // If true, use async codepaths to invoke ProofSource::GetProof. | 64 // If true, use async codepaths to invoke ProofSource::GetProof. |
| 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, defer creation of new connection till its CHLO arrives. | |
| 72 QUIC_FLAG(bool, FLAGS_quic_buffer_packet_till_chlo, true) | |
| 73 | |
| 74 // 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 |
| 75 // rest to next event. This flag can be turned on only if | 72 // rest to next event. |
| 76 // --quic_buffer_packet_till_chlo is true. | |
| 77 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) |
| 78 | 74 |
| 79 // If true, lazy allocate and early release memeory used in | |
| 80 // QuicStreamSequencerBuffer to buffer incoming data. | |
| 81 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, true) | |
| 82 | |
| 83 // If true, disables QUIC version less than 34. | 75 // If true, disables QUIC version less than 34. |
| 84 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, true) | 76 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, true) |
| 85 | 77 |
| 86 // Only close the connection on the 5th RTO client side when the 5RTO option | 78 // Only close the connection on the 5th RTO client side when the 5RTO option |
| 87 // is enabled. | 79 // is enabled. |
| 88 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) | 80 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) |
| 89 | 81 |
| 90 // If true, QUIC server push will enabled by default. | 82 // If true, QUIC server push will enabled by default. |
| 91 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) | 83 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) |
| 92 | 84 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 // Cubic in packets. | 152 // Cubic in packets. |
| 161 QUIC_FLAG(bool, FLAGS_quic_default_enable_cubic_bytes, true) | 153 QUIC_FLAG(bool, FLAGS_quic_default_enable_cubic_bytes, true) |
| 162 | 154 |
| 163 // If enabled, fix double call of | 155 // If enabled, fix double call of |
| 164 // InsertLocallyClosedStreamsHighestOffset in ResetPromised. | 156 // InsertLocallyClosedStreamsHighestOffset in ResetPromised. |
| 165 QUIC_FLAG(bool, FLAGS_quic_bugfix_reset_promised, true) | 157 QUIC_FLAG(bool, FLAGS_quic_bugfix_reset_promised, true) |
| 166 | 158 |
| 167 // Set the retransmission alarm only when there are unacked | 159 // Set the retransmission alarm only when there are unacked |
| 168 // retransmittable packets. | 160 // retransmittable packets. |
| 169 QUIC_FLAG(bool, FLAGS_quic_more_conservative_retransmission_alarm, true) | 161 QUIC_FLAG(bool, FLAGS_quic_more_conservative_retransmission_alarm, true) |
| OLD | NEW |