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 // When true, the use time based loss detection instead of nack. | 7 // When true, the use time based loss detection instead of nack. |
8 bool FLAGS_quic_use_time_loss_detection = false; | 8 bool FLAGS_quic_use_time_loss_detection = false; |
9 | 9 |
10 // If true, it will return as soon as an error is detected while validating | 10 // If true, it will return as soon as an error is detected while validating |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 // If on, max number of incoming and outgoing streams will be different. | 81 // If on, max number of incoming and outgoing streams will be different. |
82 // Incoming will be a little higher than outgoing to tolerate race condition. | 82 // Incoming will be a little higher than outgoing to tolerate race condition. |
83 bool FLAGS_quic_different_max_num_open_streams = true; | 83 bool FLAGS_quic_different_max_num_open_streams = true; |
84 | 84 |
85 // If true, QUIC should correctly report if it supports ChaCha20. Otherwise, | 85 // If true, QUIC should correctly report if it supports ChaCha20. Otherwise, |
86 // QUIC will lie and claim that it does not support ChaCha20. The primary use | 86 // QUIC will lie and claim that it does not support ChaCha20. The primary use |
87 // case for this is places where ChaCha20 is prohibitively expensive compared to | 87 // case for this is places where ChaCha20 is prohibitively expensive compared to |
88 // AES-GCM. | 88 // AES-GCM. |
89 bool FLAGS_quic_crypto_server_config_default_has_chacha20 = true; | 89 bool FLAGS_quic_crypto_server_config_default_has_chacha20 = true; |
90 | 90 |
91 // If true, checking for peer address change is postponed after the packet gets | |
92 // decrypted. | |
93 bool FLAGS_check_peer_address_change_after_decryption = true; | |
94 | |
95 // If true, always log the cached network parameters, regardless of whether | 91 // If true, always log the cached network parameters, regardless of whether |
96 // bandwidth-resumption has been enabled. | 92 // bandwidth-resumption has been enabled. |
97 bool FLAGS_quic_log_received_parameters = true; | 93 bool FLAGS_quic_log_received_parameters = true; |
98 | 94 |
99 // If true, QUIC will use newly refactored TCP sender code. | 95 // If true, QUIC will use newly refactored TCP sender code. |
100 bool FLAGS_quic_use_new_tcp_sender = true; | 96 bool FLAGS_quic_use_new_tcp_sender = true; |
101 | 97 |
102 // Saves the initial subkey secret in QUIC crypto when deriving keys from the | 98 // Saves the initial subkey secret in QUIC crypto when deriving keys from the |
103 // initial premaster secret. | 99 // initial premaster secret. |
104 bool FLAGS_quic_save_initial_subkey_secret = true; | 100 bool FLAGS_quic_save_initial_subkey_secret = true; |
(...skipping 26 matching lines...) Expand all Loading... |
131 // Enable a connection option allowing connections to time out if more than 5 | 127 // Enable a connection option allowing connections to time out if more than 5 |
132 // consecutive RTOs are sent. | 128 // consecutive RTOs are sent. |
133 bool FLAGS_quic_enable_rto_timeout = true; | 129 bool FLAGS_quic_enable_rto_timeout = true; |
134 | 130 |
135 // Do not limit the max CWND to 200 packets in QUIC. | 131 // Do not limit the max CWND to 200 packets in QUIC. |
136 bool FLAGS_quic_dont_limit_max_cwnd = true; | 132 bool FLAGS_quic_dont_limit_max_cwnd = true; |
137 | 133 |
138 // Don't copy QuicAckFrame or QuicStopWaitingFrame into the | 134 // Don't copy QuicAckFrame or QuicStopWaitingFrame into the |
139 // QuicPacketGenerator. | 135 // QuicPacketGenerator. |
140 bool FLAGS_quic_dont_copy_acks = true; | 136 bool FLAGS_quic_dont_copy_acks = true; |
OLD | NEW |