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 // If true, make sure new incoming streams correctly cede to higher | |
70 // priority (or batch) streams when doing QUIC writes. | |
71 bool FLAGS_quic_cede_correctly = true; | |
72 | |
73 // Resend 0RTT requests in response to an REJ that re-establishes encryption. | |
74 bool FLAGS_quic_reply_to_rej = true; | |
75 | |
76 // 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 |
77 // of < 10 packets. | 70 // of < 10 packets. |
78 bool FLAGS_quic_no_lower_bw_resumption_limit = true; | 71 bool FLAGS_quic_no_lower_bw_resumption_limit = true; |
79 | 72 |
80 // Limit the ruction of slow start large reduction to 1/2 the current CWND once | |
81 // the initial flight has been acked. | |
82 bool FLAGS_quic_sslr_limit_reduction = true; | |
83 | |
84 // If true, flow controller may grow the receive window size if necessary. | 73 // If true, flow controller may grow the receive window size if necessary. |
85 bool FLAGS_quic_auto_tune_receive_window = true; | 74 bool FLAGS_quic_auto_tune_receive_window = true; |
86 | 75 |
87 // If true, enable auto tuning by default (server side). | 76 // If true, enable auto tuning by default (server side). |
88 bool FLAGS_quic_enable_autotune_by_default = true; | 77 bool FLAGS_quic_enable_autotune_by_default = true; |
89 | 78 |
90 // Use largest acked in the most recent ack instead of largest acked ever in | 79 // Use largest acked in the most recent ack instead of largest acked ever in |
91 // loss recovery. | 80 // loss recovery. |
92 bool FLAGS_quic_loss_recovery_use_largest_acked = true; | 81 bool FLAGS_quic_loss_recovery_use_largest_acked = true; |
93 | 82 |
94 // Only set one alarm for sending at once, either the send alarm or | 83 // Only set one alarm for sending at once, either the send alarm or |
95 // retransmission alarm. Disabled because it breaks QUIC time loss detection. | 84 // retransmission alarm. Disabled because it breaks QUIC time loss detection. |
96 bool FLAGS_quic_only_one_sending_alarm = false; | 85 bool FLAGS_quic_only_one_sending_alarm = false; |
97 | 86 |
98 // If true, the hash of the CHLO message will be used in the proof generated for | 87 // If true, the hash of the CHLO message will be used in the proof generated for |
99 // an SCUP message. | 88 // an SCUP message. |
100 bool FLAGS_quic_use_hash_in_scup = true; | 89 bool FLAGS_quic_use_hash_in_scup = true; |
101 | 90 |
102 // If true, QUIC public reset packets will have the \"pre-v33\" public header | 91 // If true, QUIC public reset packets will have the \"pre-v33\" public header |
103 // flags. | 92 // flags. |
104 bool FLAGS_quic_use_old_public_reset_packets = true; | 93 bool FLAGS_quic_use_old_public_reset_packets = true; |
105 | 94 |
106 // Ignore the peer's recieve buffer size and instead set max CWND based on the | |
107 // amount of data the sender is willing to have in flight. | |
108 bool FLAGS_quic_ignore_srbf = true; | |
109 | |
110 // Allow the NPRR connection option which reduces QUIC\'s pacing rate during | 95 // Allow the NPRR connection option which reduces QUIC\'s pacing rate during |
111 // recovery instead of PRR. | 96 // recovery instead of PRR. |
112 bool FLAGS_quic_allow_noprr = true; | 97 bool FLAGS_quic_allow_noprr = true; |
113 | 98 |
114 // Use a write path optimized for StreamFrames. | 99 // Use a write path optimized for StreamFrames. |
115 bool FLAGS_quic_use_optimized_write_path = true; | 100 bool FLAGS_quic_use_optimized_write_path = true; |
116 | 101 |
117 // If true, the dispatcher is responsible for generating server designated | 102 // If true, the dispatcher is responsible for generating server designated |
118 // connection IDs. | 103 // connection IDs. |
119 bool FLAGS_quic_dispatcher_creates_id = true; | 104 bool FLAGS_quic_dispatcher_creates_id = true; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 | 142 |
158 // Do not use a QuicAckListener in order to confirm a larger Path MTU. | 143 // Do not use a QuicAckListener in order to confirm a larger Path MTU. |
159 bool FLAGS_quic_no_mtu_discovery_ack_listener = false; | 144 bool FLAGS_quic_no_mtu_discovery_ack_listener = false; |
160 | 145 |
161 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no | 146 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no |
162 // longer necessary. | 147 // longer necessary. |
163 bool FLAGS_quic_simple_packet_number_length = false; | 148 bool FLAGS_quic_simple_packet_number_length = false; |
164 | 149 |
165 // If true, enables QUIC_VERSION_35. | 150 // If true, enables QUIC_VERSION_35. |
166 bool FLAGS_quic_enable_version_35 = false; | 151 bool FLAGS_quic_enable_version_35 = false; |
| 152 |
| 153 // If true, requires support for X509 certificates in QUIC CHLO PDMDs. |
| 154 bool FLAGS_quic_require_x509 = false; |
OLD | NEW |