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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 // is enabled. | 91 // is enabled. |
92 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) | 92 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) |
93 | 93 |
94 // If true, QUIC server push will enabled by default. | 94 // If true, QUIC server push will enabled by default. |
95 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) | 95 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) |
96 | 96 |
97 // Only inform the QuicSentPacketManager of packets that were sent, | 97 // Only inform the QuicSentPacketManager of packets that were sent, |
98 // not those that we tried to send. | 98 // not those that we tried to send. |
99 QUIC_FLAG(bool, FLAGS_quic_only_track_sent_packets, true) | 99 QUIC_FLAG(bool, FLAGS_quic_only_track_sent_packets, true) |
100 | 100 |
101 // If true, connection is closed when packet generator is trying to | |
102 // add a frame which alone cannot fit into a packet. | |
103 QUIC_FLAG(bool, FLAGS_quic_close_connection_on_huge_frames, true) | |
104 | |
105 // As the Linux kernel does, limit QUIC's Cubic congestion control to | 101 // As the Linux kernel does, limit QUIC's Cubic congestion control to |
106 // only increase the CWND 1 packet for every two packets acked. | 102 // only increase the CWND 1 packet for every two packets acked. |
107 QUIC_FLAG(bool, FLAGS_quic_limit_cubic_cwnd_increase, true) | 103 QUIC_FLAG(bool, FLAGS_quic_limit_cubic_cwnd_increase, true) |
108 | 104 |
109 // If true, export reject reasons for all rejects, i.e., rejects, | 105 // If true, export reject reasons for all rejects, i.e., rejects, |
110 // stateless rejects and cheap stateless rejects. | 106 // stateless rejects and cheap stateless rejects. |
111 QUIC_FLAG(bool, FLAGS_quic_export_rej_for_all_rejects, true) | 107 QUIC_FLAG(bool, FLAGS_quic_export_rej_for_all_rejects, true) |
112 | 108 |
113 // Allow large send deltas to be used as RTT samples. | 109 // Allow large send deltas to be used as RTT samples. |
114 QUIC_FLAG(bool, FLAGS_quic_allow_large_send_deltas, true) | 110 QUIC_FLAG(bool, FLAGS_quic_allow_large_send_deltas, true) |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 // If true, rejected packet number is removed from public reset packet. | 144 // If true, rejected packet number is removed from public reset packet. |
149 QUIC_FLAG(bool, FLAGS_quic_remove_packet_number_from_public_reset, false) | 145 QUIC_FLAG(bool, FLAGS_quic_remove_packet_number_from_public_reset, false) |
150 | 146 |
151 // If true, will send QUIC_PUSH_STREAM_TIMED_OUT when push stream is unclaimed | 147 // If true, will send QUIC_PUSH_STREAM_TIMED_OUT when push stream is unclaimed |
152 // and times out. | 148 // and times out. |
153 QUIC_FLAG(bool, FLAGS_quic_send_push_stream_timed_out_error, true) | 149 QUIC_FLAG(bool, FLAGS_quic_send_push_stream_timed_out_error, true) |
154 | 150 |
155 // If true, enable bugfix for FHOL experiment (fin-only | 151 // If true, enable bugfix for FHOL experiment (fin-only |
156 // WritevStreamData). | 152 // WritevStreamData). |
157 QUIC_FLAG(bool, FLAGS_quic_bugfix_fhol_writev_fin_only_v2, true) | 153 QUIC_FLAG(bool, FLAGS_quic_bugfix_fhol_writev_fin_only_v2, true) |
OLD | NEW |