| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 | 92 |
| 93 // When true, decode the packet number from the largest received packet, rather | 93 // When true, decode the packet number from the largest received packet, rather |
| 94 // than the most recent. | 94 // than the most recent. |
| 95 QUIC_FLAG(bool, FLAGS_quic_packet_numbers_largest_received, true) | 95 QUIC_FLAG(bool, FLAGS_quic_packet_numbers_largest_received, true) |
| 96 | 96 |
| 97 // Only close the connection on the 5th RTO client side when the 5RTO option | 97 // Only close the connection on the 5th RTO client side when the 5RTO option |
| 98 // is enabled. | 98 // is enabled. |
| 99 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) | 99 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) |
| 100 | 100 |
| 101 // If true, QUIC server push will enabled by default. | 101 // If true, QUIC server push will enabled by default. |
| 102 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, false) | 102 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) |
| 103 | 103 |
| 104 // Only inform the QuicSentPacketManager of packets that were sent, | 104 // Only inform the QuicSentPacketManager of packets that were sent, |
| 105 // not those that we tried to send. | 105 // not those that we tried to send. |
| 106 QUIC_FLAG(bool, FLAGS_quic_only_track_sent_packets, false) | 106 QUIC_FLAG(bool, FLAGS_quic_only_track_sent_packets, true) |
| 107 | 107 |
| 108 // If true, connection is closed when packet generator is trying to | 108 // If true, connection is closed when packet generator is trying to |
| 109 // add a frame which alone cannot fit into a packet. | 109 // add a frame which alone cannot fit into a packet. |
| 110 QUIC_FLAG(bool, FLAGS_quic_close_connection_on_huge_frames, true) | 110 QUIC_FLAG(bool, FLAGS_quic_close_connection_on_huge_frames, true) |
| 111 | 111 |
| 112 // As the Linux kernel does, limit QUIC's Cubic congestion control to | 112 // As the Linux kernel does, limit QUIC's Cubic congestion control to |
| 113 // only increase the CWND 1 packet for every two packets acked. | 113 // only increase the CWND 1 packet for every two packets acked. |
| 114 QUIC_FLAG(bool, FLAGS_quic_limit_cubic_cwnd_increase, true) | 114 QUIC_FLAG(bool, FLAGS_quic_limit_cubic_cwnd_increase, true) |
| 115 | 115 |
| 116 // If true, export reject reasons for all rejects, i.e., rejects, | 116 // If true, export reject reasons for all rejects, i.e., rejects, |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 // QUIC session if it is successfully inserted to the global map. Toss the | 151 // QUIC session if it is successfully inserted to the global map. Toss the |
| 152 // packet if insertion fails. | 152 // packet if insertion fails. |
| 153 QUIC_FLAG(bool, FLAGS_quic_create_session_after_insertion, false) | 153 QUIC_FLAG(bool, FLAGS_quic_create_session_after_insertion, false) |
| 154 | 154 |
| 155 // If true, rejected packet number is removed from public reset packet. | 155 // If true, rejected packet number is removed from public reset packet. |
| 156 QUIC_FLAG(bool, FLAGS_quic_remove_packet_number_from_public_reset, false) | 156 QUIC_FLAG(bool, FLAGS_quic_remove_packet_number_from_public_reset, false) |
| 157 | 157 |
| 158 // If true, enforce that QUIC CHLOs fit in one packet. | 158 // If true, enforce that QUIC CHLOs fit in one packet. |
| 159 QUIC_FLAG(bool, FLAGS_quic_enforce_single_packet_chlo, true) | 159 QUIC_FLAG(bool, FLAGS_quic_enforce_single_packet_chlo, true) |
| 160 | 160 |
| OLD | NEW |