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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 bool FLAGS_quic_loss_recovery_use_largest_acked = true; | 98 bool FLAGS_quic_loss_recovery_use_largest_acked = true; |
99 | 99 |
100 // Only set one alarm for sending at once, either the send alarm or | 100 // Only set one alarm for sending at once, either the send alarm or |
101 // retransmission alarm. Disabled because it breaks QUIC time loss detection. | 101 // retransmission alarm. Disabled because it breaks QUIC time loss detection. |
102 bool FLAGS_quic_only_one_sending_alarm = false; | 102 bool FLAGS_quic_only_one_sending_alarm = false; |
103 | 103 |
104 // If true, the hash of the CHLO message will be used in the proof generated for | 104 // If true, the hash of the CHLO message will be used in the proof generated for |
105 // an SCUP message. | 105 // an SCUP message. |
106 bool FLAGS_quic_use_hash_in_scup = true; | 106 bool FLAGS_quic_use_hash_in_scup = true; |
107 | 107 |
108 // If true, consider receiving crypto frame on non crypto stream as memory | |
109 // corruption. | |
110 bool FLAGS_quic_detect_memory_corrpution = true; | |
111 | |
112 // If true, QUIC public reset packets will have the \"pre-v33\" public header | 108 // If true, QUIC public reset packets will have the \"pre-v33\" public header |
113 // flags. | 109 // flags. |
114 bool FLAGS_quic_use_old_public_reset_packets = true; | 110 bool FLAGS_quic_use_old_public_reset_packets = true; |
115 | 111 |
116 // Ignore the peer's recieve buffer size and instead set max CWND based on the | 112 // Ignore the peer's recieve buffer size and instead set max CWND based on the |
117 // amount of data the sender is willing to have in flight. | 113 // amount of data the sender is willing to have in flight. |
118 bool FLAGS_quic_ignore_srbf = true; | 114 bool FLAGS_quic_ignore_srbf = true; |
119 | 115 |
120 // Allow the NPRR connection option which reduces QUIC\'s pacing rate during | 116 // Allow the NPRR connection option which reduces QUIC\'s pacing rate during |
121 // recovery instead of PRR. | 117 // recovery instead of PRR. |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 bool FLAGS_quic_socket_walltimestamps = false; | 150 bool FLAGS_quic_socket_walltimestamps = false; |
155 | 151 |
156 // If true, default to immediate forward secure once established on the | 152 // If true, default to immediate forward secure once established on the |
157 // server side, and the IPFS connection option disables this instead of | 153 // server side, and the IPFS connection option disables this instead of |
158 // enabling it. | 154 // enabling it. |
159 bool FLAGS_quic_default_immediate_forward_secure = false; | 155 bool FLAGS_quic_default_immediate_forward_secure = false; |
160 | 156 |
161 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the | 157 // If true, QUIC respect HTTP2 SETTINGS frame rather than always close the |
162 // connection. | 158 // connection. |
163 bool FLAGS_quic_respect_http2_settings_frame = false; | 159 bool FLAGS_quic_respect_http2_settings_frame = false; |
OLD | NEW |