| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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. | 71 // If true, defer creation of new connection till its CHLO arrives. |
| 72 QUIC_FLAG(bool, FLAGS_quic_buffer_packet_till_chlo, true) | 72 QUIC_FLAG(bool, FLAGS_quic_buffer_packet_till_chlo, true) |
| 73 | 73 |
| 74 // If true, only open limited number of quic sessions per epoll event. Leave the | 74 // 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 | 75 // rest to next event. This flag can be turned on only if |
| 76 // --quic_buffer_packet_till_chlo is true. | 76 // --quic_buffer_packet_till_chlo is true. |
| 77 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, true) | 77 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, true) |
| 78 | 78 |
| 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. | 79 // If true, disables QUIC version less than 34. |
| 84 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, true) | 80 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, true) |
| 85 | 81 |
| 86 // Only close the connection on the 5th RTO client side when the 5RTO option | 82 // Only close the connection on the 5th RTO client side when the 5RTO option |
| 87 // is enabled. | 83 // is enabled. |
| 88 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) | 84 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) |
| 89 | 85 |
| 90 // If true, QUIC server push will enabled by default. | 86 // If true, QUIC server push will enabled by default. |
| 91 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) | 87 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) |
| 92 | 88 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 // Cubic in packets. | 156 // Cubic in packets. |
| 161 QUIC_FLAG(bool, FLAGS_quic_default_enable_cubic_bytes, true) | 157 QUIC_FLAG(bool, FLAGS_quic_default_enable_cubic_bytes, true) |
| 162 | 158 |
| 163 // If enabled, fix double call of | 159 // If enabled, fix double call of |
| 164 // InsertLocallyClosedStreamsHighestOffset in ResetPromised. | 160 // InsertLocallyClosedStreamsHighestOffset in ResetPromised. |
| 165 QUIC_FLAG(bool, FLAGS_quic_bugfix_reset_promised, true) | 161 QUIC_FLAG(bool, FLAGS_quic_bugfix_reset_promised, true) |
| 166 | 162 |
| 167 // Set the retransmission alarm only when there are unacked | 163 // Set the retransmission alarm only when there are unacked |
| 168 // retransmittable packets. | 164 // retransmittable packets. |
| 169 QUIC_FLAG(bool, FLAGS_quic_more_conservative_retransmission_alarm, true) | 165 QUIC_FLAG(bool, FLAGS_quic_more_conservative_retransmission_alarm, true) |
| OLD | NEW |