| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 // is enabled. | 79 // is enabled. |
| 80 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) | 80 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) |
| 81 | 81 |
| 82 // If true, QUIC server push will enabled by default. | 82 // If true, QUIC server push will enabled by default. |
| 83 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) | 83 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) |
| 84 | 84 |
| 85 // Only inform the QuicSentPacketManager of packets that were sent, | 85 // Only inform the QuicSentPacketManager of packets that were sent, |
| 86 // not those that we tried to send. | 86 // not those that we tried to send. |
| 87 QUIC_FLAG(bool, FLAGS_quic_only_track_sent_packets, true) | 87 QUIC_FLAG(bool, FLAGS_quic_only_track_sent_packets, true) |
| 88 | 88 |
| 89 // As the Linux kernel does, limit QUIC's Cubic congestion control to | |
| 90 // only increase the CWND 1 packet for every two packets acked. | |
| 91 QUIC_FLAG(bool, FLAGS_quic_limit_cubic_cwnd_increase, true) | |
| 92 | |
| 93 // If true, export reject reasons for all rejects, i.e., rejects, | 89 // If true, export reject reasons for all rejects, i.e., rejects, |
| 94 // stateless rejects and cheap stateless rejects. | 90 // stateless rejects and cheap stateless rejects. |
| 95 QUIC_FLAG(bool, FLAGS_quic_export_rej_for_all_rejects, true) | 91 QUIC_FLAG(bool, FLAGS_quic_export_rej_for_all_rejects, true) |
| 96 | 92 |
| 97 // Allow large send deltas to be used as RTT samples. | 93 // Allow large send deltas to be used as RTT samples. |
| 98 QUIC_FLAG(bool, FLAGS_quic_allow_large_send_deltas, true) | 94 QUIC_FLAG(bool, FLAGS_quic_allow_large_send_deltas, true) |
| 99 | 95 |
| 100 // Engage early retransmit anytime the largest acked is greater than | 96 // Engage early retransmit anytime the largest acked is greater than |
| 101 // or equal to the largest retransmittable packet. | 97 // or equal to the largest retransmittable packet. |
| 102 QUIC_FLAG(bool, FLAGS_quic_largest_sent_retransmittable, true) | 98 QUIC_FLAG(bool, FLAGS_quic_largest_sent_retransmittable, true) |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 // If enabled, fix double call of | 151 // If enabled, fix double call of |
| 156 // InsertLocallyClosedStreamsHighestOffset in ResetPromised. | 152 // InsertLocallyClosedStreamsHighestOffset in ResetPromised. |
| 157 QUIC_FLAG(bool, FLAGS_quic_bugfix_reset_promised, true) | 153 QUIC_FLAG(bool, FLAGS_quic_bugfix_reset_promised, true) |
| 158 | 154 |
| 159 // Set the retransmission alarm only when there are unacked | 155 // Set the retransmission alarm only when there are unacked |
| 160 // retransmittable packets. | 156 // retransmittable packets. |
| 161 QUIC_FLAG(bool, FLAGS_quic_more_conservative_retransmission_alarm, true) | 157 QUIC_FLAG(bool, FLAGS_quic_more_conservative_retransmission_alarm, true) |
| 162 | 158 |
| 163 // Enable QUIC force HOL blocking experiment. | 159 // Enable QUIC force HOL blocking experiment. |
| 164 QUIC_FLAG(bool, FLAGS_quic_enable_force_hol_blocking, true) | 160 QUIC_FLAG(bool, FLAGS_quic_enable_force_hol_blocking, true) |
| OLD | NEW |