| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 // If true, close the write side of a QUIC spdy stream when all queued bytes | 139 // If true, close the write side of a QUIC spdy stream when all queued bytes |
| 140 // have been written and a FIN has been sent. | 140 // have been written and a FIN has been sent. |
| 141 bool FLAGS_quic_close_stream_after_writing_queued_data = false; | 141 bool FLAGS_quic_close_stream_after_writing_queued_data = false; |
| 142 | 142 |
| 143 // If true, close connection with QUIC_TOO_MANY_FRAME_GAPS error when number of | 143 // If true, close connection with QUIC_TOO_MANY_FRAME_GAPS error when number of |
| 144 // gaps in QuicStreamSequenceBuffer exceeds allowed limit. | 144 // gaps in QuicStreamSequenceBuffer exceeds allowed limit. |
| 145 bool FLAGS_quic_limit_frame_gaps_in_buffer = false; | 145 bool FLAGS_quic_limit_frame_gaps_in_buffer = false; |
| 146 | 146 |
| 147 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in public | 147 // If true, v33 QUIC client uses 1 bit to specify 8-byte connection id in public |
| 148 // flag. | 148 // flag. |
| 149 bool FLAGS_quic_remove_v33_hacks = true; | 149 bool FLAGS_quic_remove_v33_hacks = false; |
| 150 | 150 |
| 151 // If true, use the CHLO packet size, not message size when determining how | 151 // If true, use the CHLO packet size, not message size when determining how |
| 152 // large a REJ can be. | 152 // large a REJ can be. |
| 153 bool FLAGS_quic_use_chlo_packet_size = false; | 153 bool FLAGS_quic_use_chlo_packet_size = false; |
| 154 | 154 |
| 155 // If true, defer creation of new connection till its CHLO arrives. | 155 // If true, defer creation of new connection till its CHLO arrives. |
| 156 bool FLAGS_quic_buffer_packet_till_chlo = false; | 156 bool FLAGS_quic_buffer_packet_till_chlo = false; |
| 157 | 157 |
| 158 // If true, the connection will check whether it is application-limited, and | 158 // If true, the connection will check whether it is application-limited, and |
| 159 // notify the congestion controller about it. | 159 // notify the congestion controller about it. |
| 160 bool FLAGS_quic_enable_app_limited_check = true; | 160 bool FLAGS_quic_enable_app_limited_check = true; |
| 161 | 161 |
| 162 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no | 162 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no |
| 163 // longer necessary. | 163 // longer necessary. |
| 164 bool FLAGS_quic_simple_packet_number_length_2 = true; | 164 bool FLAGS_quic_simple_packet_number_length_2 = true; |
| 165 | 165 |
| 166 // If true, disables QUIC version less than 32. | 166 // If true, disables QUIC version less than 32. |
| 167 bool FLAGS_quic_disable_pre_32 = true; | 167 bool FLAGS_quic_disable_pre_32 = true; |
| 168 | 168 |
| 169 // If true, set a QUIC connection's last_sent_for_timeout_ to the send time of | 169 // If true, set a QUIC connection's last_sent_for_timeout_ to the send time of |
| 170 // the first packet sent after receiving a packet, even if the sent packet is | 170 // the first packet sent after receiving a packet, even if the sent packet is |
| 171 // a retransmission | 171 // a retransmission |
| 172 bool FLAGS_quic_better_last_send_for_timeout = true; | 172 bool FLAGS_quic_better_last_send_for_timeout = true; |
| OLD | NEW |