| 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, it will return as soon as an error is detected while validating | 10 // If true, it will return as soon as an error is detected while validating |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 // connection. | 83 // connection. |
| 84 QUIC_FLAG(bool, FLAGS_quic_respect_http2_settings_frame, true) | 84 QUIC_FLAG(bool, FLAGS_quic_respect_http2_settings_frame, true) |
| 85 | 85 |
| 86 // If true, enables QUIC_VERSION_35. | 86 // If true, enables QUIC_VERSION_35. |
| 87 QUIC_FLAG(bool, FLAGS_quic_enable_version_35, true) | 87 QUIC_FLAG(bool, FLAGS_quic_enable_version_35, true) |
| 88 | 88 |
| 89 // If true, re-enables QUIC_VERSION_36. | 89 // If true, re-enables QUIC_VERSION_36. |
| 90 QUIC_FLAG(bool, FLAGS_quic_enable_version_36, true) | 90 QUIC_FLAG(bool, FLAGS_quic_enable_version_36, true) |
| 91 | 91 |
| 92 // If true, enables QUIC_VERSION_36. | 92 // If true, enables QUIC_VERSION_36. |
| 93 QUIC_FLAG(bool, FLAGS_quic_enable_version_36_v2, false) | 93 QUIC_FLAG(bool, FLAGS_quic_enable_version_36_v2, true) |
| 94 | 94 |
| 95 // If true, use async codepaths to invoke ProofSource::GetProof. | 95 // If true, use async codepaths to invoke ProofSource::GetProof. |
| 96 QUIC_FLAG(bool, FLAGS_enable_async_get_proof, false) | 96 QUIC_FLAG(bool, FLAGS_enable_async_get_proof, false) |
| 97 | 97 |
| 98 // If true, neuter null encrypted packets before sending the next handshake | |
| 99 // message. | |
| 100 QUIC_FLAG(bool, FLAGS_quic_neuter_unencrypted_when_sending, true) | |
| 101 | |
| 102 // If true, QuicAlarm::Update will call a faster UpdateImpl implementation | 98 // If true, QuicAlarm::Update will call a faster UpdateImpl implementation |
| 103 // instead of canceling and reregistering the alarm. | 99 // instead of canceling and reregistering the alarm. |
| 104 QUIC_FLAG(bool, FLAGS_quic_change_alarms_efficiently, true) | 100 QUIC_FLAG(bool, FLAGS_quic_change_alarms_efficiently, true) |
| 105 | 101 |
| 106 // If true, requires handshake confirmations for all QUIC handshakes with | 102 // If true, requires handshake confirmations for all QUIC handshakes with |
| 107 // versions less than 33. | 103 // versions less than 33. |
| 108 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation_pre33, false) | 104 QUIC_FLAG(bool, FLAGS_quic_require_handshake_confirmation_pre33, false) |
| 109 | 105 |
| 110 // If true, fix a bug with which QuicStreamSequencerBuffer can\'t release block | 106 // If true, fix a bug with which QuicStreamSequencerBuffer can\'t release block |
| 111 // memory in time. | 107 // memory in time. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 126 // If true, close connection with QUIC_TOO_MANY_FRAME_GAPS error when number of | 122 // If true, close connection with QUIC_TOO_MANY_FRAME_GAPS error when number of |
| 127 // gaps in QuicStreamSequenceBuffer exceeds allowed limit. | 123 // gaps in QuicStreamSequenceBuffer exceeds allowed limit. |
| 128 QUIC_FLAG(bool, FLAGS_quic_limit_frame_gaps_in_buffer, true) | 124 QUIC_FLAG(bool, FLAGS_quic_limit_frame_gaps_in_buffer, true) |
| 129 | 125 |
| 130 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in public | 126 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in public |
| 131 // flag. | 127 // flag. |
| 132 QUIC_FLAG(bool, FLAGS_quic_remove_v33_hacks, true) | 128 QUIC_FLAG(bool, FLAGS_quic_remove_v33_hacks, true) |
| 133 | 129 |
| 134 // If true, use the CHLO packet size, not message size when determining how | 130 // If true, use the CHLO packet size, not message size when determining how |
| 135 // large a REJ can be. | 131 // large a REJ can be. |
| 136 QUIC_FLAG(bool, FLAGS_quic_use_chlo_packet_size, false) | 132 QUIC_FLAG(bool, FLAGS_quic_use_chlo_packet_size, true) |
| 137 | 133 |
| 138 // If true, defer creation of new connection till its CHLO arrives. | 134 // If true, defer creation of new connection till its CHLO arrives. |
| 139 QUIC_FLAG(bool, FLAGS_quic_buffer_packet_till_chlo, false) | 135 QUIC_FLAG(bool, FLAGS_quic_buffer_packet_till_chlo, true) |
| 140 | 136 |
| 141 // If true, the connection will check whether it is application-limited, and | 137 // If true, the connection will check whether it is application-limited, and |
| 142 // notify the congestion controller about it. | 138 // notify the congestion controller about it. |
| 143 QUIC_FLAG(bool, FLAGS_quic_enable_app_limited_check, true) | 139 QUIC_FLAG(bool, FLAGS_quic_enable_app_limited_check, true) |
| 144 | 140 |
| 145 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no | 141 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no |
| 146 // longer necessary. | 142 // longer necessary. |
| 147 QUIC_FLAG(bool, FLAGS_quic_simple_packet_number_length_2, true) | 143 QUIC_FLAG(bool, FLAGS_quic_simple_packet_number_length_2, true) |
| 148 | 144 |
| 149 // If true, disables QUIC version less than 32. | 145 // If true, disables QUIC version less than 32. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 161 // message too long (EMSGSIZE) write error. | 157 // message too long (EMSGSIZE) write error. |
| 162 QUIC_FLAG(bool, FLAGS_quic_do_not_send_ack_on_emsgsize, true) | 158 QUIC_FLAG(bool, FLAGS_quic_do_not_send_ack_on_emsgsize, true) |
| 163 | 159 |
| 164 // If true, postpone multipath flag validation to ProcessValidatedPacket. | 160 // If true, postpone multipath flag validation to ProcessValidatedPacket. |
| 165 QUIC_FLAG(bool, FLAGS_quic_postpone_multipath_flag_validation, true) | 161 QUIC_FLAG(bool, FLAGS_quic_postpone_multipath_flag_validation, true) |
| 166 | 162 |
| 167 // If true, set a QUIC connection's last_sent_for_timeout_ to the send time of | 163 // If true, set a QUIC connection's last_sent_for_timeout_ to the send time of |
| 168 // the first packet sent after receiving a packet, even if the sent packet is | 164 // the first packet sent after receiving a packet, even if the sent packet is |
| 169 // a retransmission | 165 // a retransmission |
| 170 QUIC_FLAG(bool, FLAGS_quic_better_last_send_for_timeout, true) | 166 QUIC_FLAG(bool, FLAGS_quic_better_last_send_for_timeout, true) |
| 167 |
| 168 // If true, send an explicit TTL in QUIC REJ messages to mitigate client clock |
| 169 // skew. |
| 170 QUIC_FLAG(bool, FLAGS_quic_send_scfg_ttl, true) |
| 171 |
| 172 // If true, only open limited number of quic sessions per epoll event. Leave the |
| 173 // rest to next event. This flag can be turned on only if |
| 174 // --quic_buffer_packet_till_chlo is true. |
| 175 QUIC_FLAG(bool, FLAGS_quic_limit_num_new_sessions_per_epoll_loop, false) |
| OLD | NEW |