| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 // priority (or batch) streams when doing QUIC writes. | 76 // priority (or batch) streams when doing QUIC writes. |
| 77 bool FLAGS_quic_cede_correctly = true; | 77 bool FLAGS_quic_cede_correctly = true; |
| 78 | 78 |
| 79 // If true, QUIC should correctly report if it supports ChaCha20. Otherwise, | 79 // If true, QUIC should correctly report if it supports ChaCha20. Otherwise, |
| 80 // QUIC will lie and claim that it does not support ChaCha20. The primary use | 80 // QUIC will lie and claim that it does not support ChaCha20. The primary use |
| 81 // case for this is places where ChaCha20 is prohibitively expensive compared to | 81 // case for this is places where ChaCha20 is prohibitively expensive compared to |
| 82 // AES-GCM. | 82 // AES-GCM. |
| 83 bool FLAGS_quic_crypto_server_config_default_has_chacha20 = true; | 83 bool FLAGS_quic_crypto_server_config_default_has_chacha20 = true; |
| 84 | 84 |
| 85 // Resend 0RTT requests in response to an REJ that re-establishes encryption. | 85 // Resend 0RTT requests in response to an REJ that re-establishes encryption. |
| 86 bool FLAGS_quic_reply_to_rej = true; | 86 bool FLAGS_quic_reply_to_rej = false; |
| 87 | 87 |
| 88 // If true, QUIC connections can do bandwidth resumption with an initial window | 88 // If true, QUIC connections can do bandwidth resumption with an initial window |
| 89 // of < 10 packets. | 89 // of < 10 packets. |
| 90 bool FLAGS_quic_no_lower_bw_resumption_limit = true; | 90 bool FLAGS_quic_no_lower_bw_resumption_limit = true; |
| 91 | 91 |
| 92 // Limit the ruction of slow start large reduction to 1/2 the current CWND once | 92 // Limit the ruction of slow start large reduction to 1/2 the current CWND once |
| 93 // the initial flight has been acked. | 93 // the initial flight has been acked. |
| 94 bool FLAGS_quic_sslr_limit_reduction = true; | 94 bool FLAGS_quic_sslr_limit_reduction = true; |
| 95 | 95 |
| 96 // If true, flow controller may grow the receive window size if necessary. | 96 // If true, flow controller may grow the receive window size if necessary. |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 // If true, replace ServerHelloNotifier with a check to see if a decrypted | 150 // If true, replace ServerHelloNotifier with a check to see if a decrypted |
| 151 // packet is forward secure. | 151 // packet is forward secure. |
| 152 bool FLAGS_quic_no_shlo_listener = true; | 152 bool FLAGS_quic_no_shlo_listener = true; |
| 153 | 153 |
| 154 // If true, queued retransmission packets, because of write blocked | 154 // If true, queued retransmission packets, because of write blocked |
| 155 // socket, are always sent once the socket gets unblocked | 155 // socket, are always sent once the socket gets unblocked |
| 156 bool FLAGS_quic_always_write_queued_retransmissions = true; | 156 bool FLAGS_quic_always_write_queued_retransmissions = true; |
| 157 | 157 |
| 158 // Adds a RATE connection option to do rate based sending. | 158 // Adds a RATE connection option to do rate based sending. |
| 159 bool FLAGS_quic_rate_based_sending = true; | 159 bool FLAGS_quic_rate_based_sending = true; |
| OLD | NEW |