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 #include "net/quic/core/quic_flags.h" | 5 #include "net/quic/core/quic_flags.h" |
6 | 6 |
7 // If true, it will return as soon as an error is detected while validating | 7 // If true, it will return as soon as an error is detected while validating |
8 // CHLO. | 8 // CHLO. |
9 bool FLAGS_use_early_return_when_verifying_chlo = true; | 9 bool FLAGS_use_early_return_when_verifying_chlo = true; |
10 | 10 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 // longer necessary. | 90 // longer necessary. |
91 bool FLAGS_quic_simple_packet_number_length = true; | 91 bool FLAGS_quic_simple_packet_number_length = true; |
92 | 92 |
93 // If true, enables QUIC_VERSION_35. | 93 // If true, enables QUIC_VERSION_35. |
94 bool FLAGS_quic_enable_version_35 = true; | 94 bool FLAGS_quic_enable_version_35 = true; |
95 | 95 |
96 // If true, re-enables QUIC_VERSION_36. | 96 // If true, re-enables QUIC_VERSION_36. |
97 bool FLAGS_quic_enable_version_36 = true; | 97 bool FLAGS_quic_enable_version_36 = true; |
98 | 98 |
99 // If true, enables QUIC_VERSION_36. | 99 // If true, enables QUIC_VERSION_36. |
100 bool FLAGS_quic_enable_version_36_v2 = true; | 100 bool FLAGS_quic_enable_version_36_v2 = false; |
101 | 101 |
102 // If true, requires support for X509 certificates in QUIC CHLO PDMDs. | 102 // If true, requires support for X509 certificates in QUIC CHLO PDMDs. |
103 bool FLAGS_quic_require_x509 = true; | 103 bool FLAGS_quic_require_x509 = true; |
104 | 104 |
105 // If true, deprecate safeguards for b/26023400. | 105 // If true, deprecate safeguards for b/26023400. |
106 bool FLAGS_quic_deprecate_kfixd = false; | 106 bool FLAGS_quic_deprecate_kfixd = true; |
107 | 107 |
108 // If true, use async codepaths to invoke ProofSource::GetProof. | 108 // If true, use async codepaths to invoke ProofSource::GetProof. |
109 bool FLAGS_enable_async_get_proof = false; | 109 bool FLAGS_enable_async_get_proof = false; |
110 | 110 |
111 // If true, neuter null encrypted packets before sending the next handshake | 111 // If true, neuter null encrypted packets before sending the next handshake |
112 // message. | 112 // message. |
113 bool FLAGS_quic_neuter_unencrypted_when_sending = false; | 113 bool FLAGS_quic_neuter_unencrypted_when_sending = true; |
114 | 114 |
115 // If true, QuicAlarm::Update will call a faster UpdateImpl implementation | 115 // If true, QuicAlarm::Update will call a faster UpdateImpl implementation |
116 // instead of canceling and reregistering the alarm. | 116 // instead of canceling and reregistering the alarm. |
117 bool FLAGS_quic_change_alarms_efficiently = false; | 117 bool FLAGS_quic_change_alarms_efficiently = false; |
118 | 118 |
119 // If true, requires handshake confirmations for all QUIC handshakes with | 119 // If true, requires handshake confirmations for all QUIC handshakes with |
120 // versions less than 33. | 120 // versions less than 33. |
121 bool FLAGS_quic_require_handshake_confirmation_pre33 = false; | 121 bool FLAGS_quic_require_handshake_confirmation_pre33 = false; |
122 | 122 |
123 // If true, use the interval form of iteration over a PacketNumberQueue instead | 123 // If true, use the interval form of iteration over a PacketNumberQueue instead |
124 // of iterating over the individual numbers. | 124 // of iterating over the individual numbers. |
125 bool FLAGS_quic_use_packet_number_queue_intervals = false; | 125 bool FLAGS_quic_use_packet_number_queue_intervals = true; |
126 | 126 |
127 bool FLAGS_quic_sequencer_buffer_retire_block_in_time = true; | 127 bool FLAGS_quic_sequencer_buffer_retire_block_in_time = false; |
128 | 128 |
129 // Remove obsolete code to force QUIC to go forward secure, now that the server | 129 // Remove obsolete code to force QUIC to go forward secure, now that the server |
130 // immediately goes forward secure. | 130 // immediately goes forward secure. |
131 bool FLAGS_quic_remove_obsolete_forward_secure = false; | 131 bool FLAGS_quic_remove_obsolete_forward_secure = false; |
132 | 132 |
133 // If true, close QUIC connection explicitly on write error due to packet being | 133 // If true, close QUIC connection explicitly on write error due to packet being |
134 // too large. | 134 // too large. |
135 bool FLAGS_quic_close_connection_on_packet_too_large = true; | 135 bool FLAGS_quic_close_connection_on_packet_too_large = true; |
136 | 136 |
137 // Use GetLeastUnacked when updating the packet number length, instead of | 137 // Use GetLeastUnacked when updating the packet number length, instead of |
138 // GetLeastPacketAwaitedByPeer. | 138 // GetLeastPacketAwaitedByPeer. |
139 bool FLAGS_quic_least_unacked_packet_number_length = true; | 139 bool FLAGS_quic_least_unacked_packet_number_length = true; |
140 | 140 |
141 // If true, close the write side of a QUIC spdy stream when all queued bytes | 141 // If true, close the write side of a QUIC spdy stream when all queued bytes |
142 // have been written and a FIN has been sent. | 142 // have been written and a FIN has been sent. |
143 bool FLAGS_quic_close_stream_after_writing_queued_data = false; | 143 bool FLAGS_quic_close_stream_after_writing_queued_data = false; |
144 | 144 |
145 // If true, close connection with QUIC_TOO_MANY_FRAME_GAPS error when number of | 145 // If true, close connection with QUIC_TOO_MANY_FRAME_GAPS error when number of |
146 // gaps in QuicStreamSequenceBuffer exceeds allowed limit. | 146 // gaps in QuicStreamSequenceBuffer exceeds allowed limit. |
147 bool FLAGS_quic_limit_frame_gaps_in_buffer = false; | 147 bool FLAGS_quic_limit_frame_gaps_in_buffer = false; |
148 | 148 |
149 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in public | 149 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in public |
150 // flag. | 150 // flag. |
151 bool FLAGS_quic_remove_v33_hacks = true; | 151 bool FLAGS_quic_remove_v33_hacks = true; |
152 | 152 |
153 // If true, use the CHLO packet size, not message size when determining how | 153 // If true, use the CHLO packet size, not message size when determining how |
154 // large a REJ can be. | 154 // large a REJ can be. |
155 bool FLAGS_quic_use_chlo_packet_size = true; | 155 bool FLAGS_quic_use_chlo_packet_size = false; |
156 | 156 |
157 // If true, defer creation of new connection till its CHLO arrives. | 157 // If true, defer creation of new connection till its CHLO arrives. |
158 bool FLAGS_quic_buffer_packet_till_chlo = true; | 158 bool FLAGS_quic_buffer_packet_till_chlo = false; |
159 | 159 |
160 // If true, the connection will check whether it is application-limited, and | 160 // If true, the connection will check whether it is application-limited, and |
161 // notify the congestion controller about it. | 161 // notify the congestion controller about it. |
162 bool FLAGS_quic_enable_app_limited_check = true; | 162 bool FLAGS_quic_enable_app_limited_check = true; |
OLD | NEW |