| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 | 77 |
| 78 // If true, only open limited number of quic sessions per epoll event. Leave the | 78 // If true, only open limited number of quic sessions per epoll event. Leave the |
| 79 // rest to next event. This flag can be turned on only if | 79 // rest to next event. This flag can be turned on only if |
| 80 // --quic_buffer_packet_till_chlo is true. | 80 // --quic_buffer_packet_till_chlo is true. |
| 81 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, true) | 81 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, true) |
| 82 | 82 |
| 83 // If true, lazy allocate and early release memeory used in | 83 // If true, lazy allocate and early release memeory used in |
| 84 // QuicStreamSequencerBuffer to buffer incoming data. | 84 // QuicStreamSequencerBuffer to buffer incoming data. |
| 85 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, true) | 85 QUIC_FLAG(bool, FLAGS_quic_reduce_sequencer_buffer_memory_life_time, true) |
| 86 | 86 |
| 87 // If true, allow server address change if it is because of mapped ipv4 address. | |
| 88 QUIC_FLAG(bool, FLAGS_quic_allow_server_address_change_for_mapped_ipv4, true) | |
| 89 | |
| 90 // If true, disables QUIC version less than 34. | 87 // If true, disables QUIC version less than 34. |
| 91 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) | 88 QUIC_FLAG(bool, FLAGS_quic_disable_pre_34, false) |
| 92 | 89 |
| 93 // When true, decode the packet number from the largest received packet, rather | |
| 94 // than the most recent. | |
| 95 QUIC_FLAG(bool, FLAGS_quic_packet_numbers_largest_received, true) | |
| 96 | |
| 97 // Only close the connection on the 5th RTO client side when the 5RTO option | 90 // Only close the connection on the 5th RTO client side when the 5RTO option |
| 98 // is enabled. | 91 // is enabled. |
| 99 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) | 92 QUIC_FLAG(bool, FLAGS_quic_only_5rto_client_side, true) |
| 100 | 93 |
| 101 // If true, QUIC server push will enabled by default. | 94 // If true, QUIC server push will enabled by default. |
| 102 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) | 95 QUIC_FLAG(bool, FLAGS_quic_enable_server_push_by_default, true) |
| 103 | 96 |
| 104 // Only inform the QuicSentPacketManager of packets that were sent, | 97 // Only inform the QuicSentPacketManager of packets that were sent, |
| 105 // not those that we tried to send. | 98 // not those that we tried to send. |
| 106 QUIC_FLAG(bool, FLAGS_quic_only_track_sent_packets, true) | 99 QUIC_FLAG(bool, FLAGS_quic_only_track_sent_packets, true) |
| 107 | 100 |
| 108 // If true, connection is closed when packet generator is trying to | |
| 109 // add a frame which alone cannot fit into a packet. | |
| 110 QUIC_FLAG(bool, FLAGS_quic_close_connection_on_huge_frames, true) | |
| 111 | |
| 112 // 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 |
| 113 // only increase the CWND 1 packet for every two packets acked. | 102 // only increase the CWND 1 packet for every two packets acked. |
| 114 QUIC_FLAG(bool, FLAGS_quic_limit_cubic_cwnd_increase, true) | 103 QUIC_FLAG(bool, FLAGS_quic_limit_cubic_cwnd_increase, true) |
| 115 | 104 |
| 116 // If true, export reject reasons for all rejects, i.e., rejects, | 105 // If true, export reject reasons for all rejects, i.e., rejects, |
| 117 // stateless rejects and cheap stateless rejects. | 106 // stateless rejects and cheap stateless rejects. |
| 118 QUIC_FLAG(bool, FLAGS_quic_export_rej_for_all_rejects, true) | 107 QUIC_FLAG(bool, FLAGS_quic_export_rej_for_all_rejects, true) |
| 119 | 108 |
| 120 // Allow large send deltas to be used as RTT samples. | 109 // Allow large send deltas to be used as RTT samples. |
| 121 QUIC_FLAG(bool, FLAGS_quic_allow_large_send_deltas, true) | 110 QUIC_FLAG(bool, FLAGS_quic_allow_large_send_deltas, true) |
| 122 | 111 |
| 123 // Engage early retransmit anytime the largest acked is greater than | 112 // Engage early retransmit anytime the largest acked is greater than |
| 124 // or equal to the largest retransmittable packet. | 113 // or equal to the largest retransmittable packet. |
| 125 QUIC_FLAG(bool, FLAGS_quic_largest_sent_retransmittable, true) | 114 QUIC_FLAG(bool, FLAGS_quic_largest_sent_retransmittable, true) |
| 126 | 115 |
| 127 // If true, close connection when sequencer buffer enter into unexpected state. | |
| 128 QUIC_FLAG(bool, FLAGS_quic_stream_sequencer_buffer_debug, true) | |
| 129 | |
| 130 // If true, release QuicCryptoStream\'s read buffer when stream are less | 116 // If true, release QuicCryptoStream\'s read buffer when stream are less |
| 131 // frequently used. | 117 // frequently used. |
| 132 QUIC_FLAG(bool, FLAGS_quic_release_crypto_stream_buffer, false) | 118 QUIC_FLAG(bool, FLAGS_quic_release_crypto_stream_buffer, false) |
| 133 | 119 |
| 134 // Use a more conservative backoff of 2x instead of 1.5x for handshake | 120 // Use a more conservative backoff of 2x instead of 1.5x for handshake |
| 135 // retransmissions, as well as a larger minimum. | 121 // retransmissions, as well as a larger minimum. |
| 136 QUIC_FLAG(bool, FLAGS_quic_conservative_handshake_retransmits, true) | 122 QUIC_FLAG(bool, FLAGS_quic_conservative_handshake_retransmits, true) |
| 137 | 123 |
| 138 // If true, buffer packets while parsing public headers instead of parsing down | 124 // If true, buffer packets while parsing public headers instead of parsing down |
| 139 // if CHLO is already buffered. | 125 // if CHLO is already buffered. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 159 // and times out. | 145 // and times out. |
| 160 QUIC_FLAG(bool, FLAGS_quic_send_push_stream_timed_out_error, true) | 146 QUIC_FLAG(bool, FLAGS_quic_send_push_stream_timed_out_error, true) |
| 161 | 147 |
| 162 // If true, enable bugfix for FHOL experiment (fin-only | 148 // If true, enable bugfix for FHOL experiment (fin-only |
| 163 // WritevStreamData). | 149 // WritevStreamData). |
| 164 QUIC_FLAG(bool, FLAGS_quic_bugfix_fhol_writev_fin_only_v2, true) | 150 QUIC_FLAG(bool, FLAGS_quic_bugfix_fhol_writev_fin_only_v2, true) |
| 165 | 151 |
| 166 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in | 152 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in |
| 167 // public flag. | 153 // public flag. |
| 168 QUIC_FLAG(bool, FLAGS_quic_remove_v33_hacks2, false) | 154 QUIC_FLAG(bool, FLAGS_quic_remove_v33_hacks2, false) |
| 155 |
| 156 // If true, limits QUIC uncompressed headers to 16K. |
| 157 QUIC_FLAG(bool, FLAGS_quic_limit_uncompressed_headers, false) |
| OLD | NEW |