| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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, headers stream will support receiving PUSH_PROMISE frames. | 63 // If true, headers stream will support receiving PUSH_PROMISE frames. |
| 64 bool FLAGS_quic_supports_push_promise = true; | 64 bool FLAGS_quic_supports_push_promise = true; |
| 65 | 65 |
| 66 // If true, QUIC connections can do bandwidth resumption with an initial window | 66 // If true, QUIC connections can do bandwidth resumption with an initial window |
| 67 // of < 10 packets. | 67 // of < 10 packets. |
| 68 bool FLAGS_quic_no_lower_bw_resumption_limit = true; | 68 bool FLAGS_quic_no_lower_bw_resumption_limit = true; |
| 69 | 69 |
| 70 // If true, flow controller may grow the receive window size if necessary. | |
| 71 bool FLAGS_quic_auto_tune_receive_window = true; | |
| 72 | |
| 73 // If true, enable auto tuning by default (server side). | |
| 74 bool FLAGS_quic_enable_autotune_by_default = true; | |
| 75 | |
| 76 // Use largest acked in the most recent ack instead of largest acked ever in | 70 // Use largest acked in the most recent ack instead of largest acked ever in |
| 77 // loss recovery. | 71 // loss recovery. |
| 78 bool FLAGS_quic_loss_recovery_use_largest_acked = true; | 72 bool FLAGS_quic_loss_recovery_use_largest_acked = true; |
| 79 | 73 |
| 80 // Only set one alarm for sending at once, either the send alarm or | 74 // Only set one alarm for sending at once, either the send alarm or |
| 81 // retransmission alarm. Disabled because it breaks QUIC time loss detection. | 75 // retransmission alarm. Disabled because it breaks QUIC time loss detection. |
| 82 bool FLAGS_quic_only_one_sending_alarm = false; | 76 bool FLAGS_quic_only_one_sending_alarm = false; |
| 83 | 77 |
| 84 // If true, QUIC public reset packets will have the \"pre-v33\" public header | 78 // If true, QUIC public reset packets will have the \"pre-v33\" public header |
| 85 // flags. | 79 // flags. |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 // If true, use async codepaths to invoke ProofSource::GetProof. | 136 // If true, use async codepaths to invoke ProofSource::GetProof. |
| 143 bool FLAGS_enable_async_get_proof = false; | 137 bool FLAGS_enable_async_get_proof = false; |
| 144 | 138 |
| 145 // If true, neuter null encrypted packets before sending the next handshake | 139 // If true, neuter null encrypted packets before sending the next handshake |
| 146 // message. | 140 // message. |
| 147 bool FLAGS_quic_neuter_unencrypted_when_sending = false; | 141 bool FLAGS_quic_neuter_unencrypted_when_sending = false; |
| 148 | 142 |
| 149 // If true, QuicAlarm::Update will call a faster UpdateImpl implementation | 143 // If true, QuicAlarm::Update will call a faster UpdateImpl implementation |
| 150 // instead of canceling and reregistering the alarm. | 144 // instead of canceling and reregistering the alarm. |
| 151 bool FLAGS_quic_change_alarms_efficiently = false; | 145 bool FLAGS_quic_change_alarms_efficiently = false; |
| OLD | NEW |