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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 bool FLAGS_quic_only_one_sending_alarm = false; | 85 bool FLAGS_quic_only_one_sending_alarm = false; |
86 | 86 |
87 // 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 |
88 // an SCUP message. | 88 // an SCUP message. |
89 bool FLAGS_quic_use_hash_in_scup = true; | 89 bool FLAGS_quic_use_hash_in_scup = true; |
90 | 90 |
91 // 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 |
92 // flags. | 92 // flags. |
93 bool FLAGS_quic_use_old_public_reset_packets = true; | 93 bool FLAGS_quic_use_old_public_reset_packets = true; |
94 | 94 |
95 // Ignore the peer's recieve buffer size and instead set max CWND based on the | |
96 // amount of data the sender is willing to have in flight. | |
97 bool FLAGS_quic_ignore_srbf = true; | |
98 | |
99 // 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 |
100 // recovery instead of PRR. | 96 // recovery instead of PRR. |
101 bool FLAGS_quic_allow_noprr = true; | 97 bool FLAGS_quic_allow_noprr = true; |
102 | 98 |
103 // Use a write path optimized for StreamFrames. | 99 // Use a write path optimized for StreamFrames. |
104 bool FLAGS_quic_use_optimized_write_path = true; | 100 bool FLAGS_quic_use_optimized_write_path = true; |
105 | 101 |
106 // If true, the dispatcher is responsible for generating server designated | 102 // If true, the dispatcher is responsible for generating server designated |
107 // connection IDs. | 103 // connection IDs. |
108 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... |
146 | 142 |
147 // 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. |
148 bool FLAGS_quic_no_mtu_discovery_ack_listener = false; | 144 bool FLAGS_quic_no_mtu_discovery_ack_listener = false; |
149 | 145 |
150 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no | 146 // Deprecate QuicPacketCreator::next_packet_number_length_ because it's no |
151 // longer necessary. | 147 // longer necessary. |
152 bool FLAGS_quic_simple_packet_number_length = false; | 148 bool FLAGS_quic_simple_packet_number_length = false; |
153 | 149 |
154 // If true, enables QUIC_VERSION_35. | 150 // If true, enables QUIC_VERSION_35. |
155 bool FLAGS_quic_enable_version_35 = false; | 151 bool FLAGS_quic_enable_version_35 = false; |
OLD | NEW |