| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 bool FLAGS_quic_reply_to_rej = true; | 92 bool FLAGS_quic_reply_to_rej = true; |
| 93 | 93 |
| 94 // If true, QUIC connections can do bandwidth resumption with an initial window | 94 // If true, QUIC connections can do bandwidth resumption with an initial window |
| 95 // of < 10 packets. | 95 // of < 10 packets. |
| 96 bool FLAGS_quic_no_lower_bw_resumption_limit = true; | 96 bool FLAGS_quic_no_lower_bw_resumption_limit = true; |
| 97 | 97 |
| 98 // Limit the ruction of slow start large reduction to 1/2 the current CWND once | 98 // Limit the ruction of slow start large reduction to 1/2 the current CWND once |
| 99 // the initial flight has been acked. | 99 // the initial flight has been acked. |
| 100 bool FLAGS_quic_sslr_limit_reduction = true; | 100 bool FLAGS_quic_sslr_limit_reduction = true; |
| 101 | 101 |
| 102 // Simplify QUIC's loss detection by combining time and nack based portions. | |
| 103 bool FLAGS_quic_simplify_loss_detection = true; | |
| 104 | |
| 105 // If true, respect any configured max pacing rate. | 102 // If true, respect any configured max pacing rate. |
| 106 bool FLAGS_quic_max_pacing_rate = true; | 103 bool FLAGS_quic_max_pacing_rate = true; |
| 107 | 104 |
| 108 // If true, QuicWriter avoids calling HttpWriter::Write with 0 bytes when | 105 // If true, QuicWriter avoids calling HttpWriter::Write with 0 bytes when |
| 109 // last_data == false. | 106 // last_data == false. |
| 110 bool FLAGS_quic_avoid_empty_nonfin_writes = true; | 107 bool FLAGS_quic_avoid_empty_nonfin_writes = true; |
| 111 | 108 |
| 112 // If true, flow controller may grow the receive window size if necessary. | 109 // If true, flow controller may grow the receive window size if necessary. |
| 113 bool FLAGS_quic_auto_tune_receive_window = true; | 110 bool FLAGS_quic_auto_tune_receive_window = true; |
| 114 | 111 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 139 // flags. | 136 // flags. |
| 140 bool FLAGS_quic_use_old_public_reset_packets = true; | 137 bool FLAGS_quic_use_old_public_reset_packets = true; |
| 141 | 138 |
| 142 // Ignore the peer's recieve buffer size and instead set max CWND based on the | 139 // Ignore the peer's recieve buffer size and instead set max CWND based on the |
| 143 // amount of data the sender is willing to have in flight. | 140 // amount of data the sender is willing to have in flight. |
| 144 bool FLAGS_quic_ignore_srbf = true; | 141 bool FLAGS_quic_ignore_srbf = true; |
| 145 | 142 |
| 146 // Allow the NPRR connection option which reduces QUIC\'s pacing rate during | 143 // Allow the NPRR connection option which reduces QUIC\'s pacing rate during |
| 147 // recovery instead of PRR. | 144 // recovery instead of PRR. |
| 148 bool FLAGS_quic_allow_noprr = true; | 145 bool FLAGS_quic_allow_noprr = true; |
| OLD | NEW |