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/quic_flags.h" | 5 #include "net/quic/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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 // If true, Close the connection instead of writing unencrypted stream data. | 60 // If true, Close the connection instead of writing unencrypted stream data. |
61 bool FLAGS_quic_never_write_unencrypted_data = true; | 61 bool FLAGS_quic_never_write_unencrypted_data = true; |
62 | 62 |
63 // If true, reject any incoming QUIC which does not have the FIXD tag. | 63 // If true, reject any incoming QUIC which does not have the FIXD tag. |
64 bool FLAGS_quic_require_fix = true; | 64 bool FLAGS_quic_require_fix = true; |
65 | 65 |
66 // If true, headers stream will support receiving PUSH_PROMISE frames. | 66 // If true, headers stream will support receiving PUSH_PROMISE frames. |
67 bool FLAGS_quic_supports_push_promise = true; | 67 bool FLAGS_quic_supports_push_promise = true; |
68 | 68 |
69 // Resend 0RTT requests in response to an REJ that re-establishes encryption. | |
70 bool FLAGS_quic_reply_to_rej = true; | |
71 | |
72 // If true, QUIC connections can do bandwidth resumption with an initial window | 69 // If true, QUIC connections can do bandwidth resumption with an initial window |
73 // of < 10 packets. | 70 // of < 10 packets. |
74 bool FLAGS_quic_no_lower_bw_resumption_limit = true; | 71 bool FLAGS_quic_no_lower_bw_resumption_limit = true; |
75 | 72 |
76 // Limit the ruction of slow start large reduction to 1/2 the current CWND once | 73 // Limit the ruction of slow start large reduction to 1/2 the current CWND once |
77 // the initial flight has been acked. | 74 // the initial flight has been acked. |
78 bool FLAGS_quic_sslr_limit_reduction = true; | 75 bool FLAGS_quic_sslr_limit_reduction = true; |
79 | 76 |
80 // If true, flow controller may grow the receive window size if necessary. | 77 // If true, flow controller may grow the receive window size if necessary. |
81 bool FLAGS_quic_auto_tune_receive_window = true; | 78 bool FLAGS_quic_auto_tune_receive_window = true; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 150 |
154 // Do not use a QuicAckListener in order to confirm a larger Path MTU. | 151 // Do not use a QuicAckListener in order to confirm a larger Path MTU. |
155 bool FLAGS_quic_no_mtu_discovery_ack_listener = false; | 152 bool FLAGS_quic_no_mtu_discovery_ack_listener = false; |
156 | 153 |
157 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no | 154 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no |
158 // longer necessary. | 155 // longer necessary. |
159 bool FLAGS_quic_simple_packet_number_length = false; | 156 bool FLAGS_quic_simple_packet_number_length = false; |
160 | 157 |
161 // If true, enables QUIC_VERSION_35. | 158 // If true, enables QUIC_VERSION_35. |
162 bool FLAGS_quic_enable_version_35 = false; | 159 bool FLAGS_quic_enable_version_35 = false; |
OLD | NEW |