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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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. | 102 // Simplify QUIC's loss detection by combining time and nack based portions. |
103 bool FLAGS_quic_simplify_loss_detection = true; | 103 bool FLAGS_quic_simplify_loss_detection = true; |
104 | 104 |
105 // If true, do not check HasUnackedPackets on retransmission timeout. | |
106 bool FLAGS_quic_always_has_unacked_packets_on_timeout = true; | |
107 | |
108 // If true, respect any configured max pacing rate. | 105 // If true, respect any configured max pacing rate. |
109 bool FLAGS_quic_max_pacing_rate = true; | 106 bool FLAGS_quic_max_pacing_rate = true; |
110 | 107 |
111 // If true, QuicWriter avoids calling HttpWriter::Write with 0 bytes when | 108 // If true, QuicWriter avoids calling HttpWriter::Write with 0 bytes when |
112 // last_data == false. | 109 // last_data == false. |
113 bool FLAGS_quic_avoid_empty_nonfin_writes = true; | 110 bool FLAGS_quic_avoid_empty_nonfin_writes = true; |
114 | 111 |
115 // If true, flow controller may grow the receive window size if necessary. | 112 // If true, flow controller may grow the receive window size if necessary. |
116 bool FLAGS_quic_auto_tune_receive_window = true; | 113 bool FLAGS_quic_auto_tune_receive_window = true; |
117 | 114 |
118 // Add the ability for QUIC's time based loss detection to increase it's | 115 // Add the ability for QUIC's time based loss detection to increase it's |
119 // threshold after spurious losses. | 116 // threshold after spurious losses. |
120 bool FLAGS_quic_adaptive_loss_recovery = true; | 117 bool FLAGS_quic_adaptive_loss_recovery = true; |
121 | 118 |
122 // If true, enable auto tuning by default (server side). | 119 // If true, enable auto tuning by default (server side). |
123 bool FLAGS_quic_enable_autotune_by_default = true; | 120 bool FLAGS_quic_enable_autotune_by_default = true; |
124 | 121 |
125 // Use largest acked in the most recent ack instead of largest acked ever in | 122 // Use largest acked in the most recent ack instead of largest acked ever in |
126 // loss recovery. | 123 // loss recovery. |
127 bool FLAGS_quic_loss_recovery_use_largest_acked = true; | 124 bool FLAGS_quic_loss_recovery_use_largest_acked = true; |
128 | 125 |
129 // Only set one alarm for sending at once, either the send alarm or | 126 // Only set one alarm for sending at once, either the send alarm or |
130 // retransmission alarm. | 127 // retransmission alarm. |
131 bool FLAGS_quic_only_one_sending_alarm = true; | 128 bool FLAGS_quic_only_one_sending_alarm = true; |
| 129 |
| 130 // If true, the hash of the CHLO message will be used in the proof generated for |
| 131 // an SCUP message. |
| 132 bool FLAGS_quic_use_hash_in_scup = true; |
| 133 |
| 134 // If true, consider receiving crypto frame on non crypto stream as memory |
| 135 // corruption. |
| 136 bool FLAGS_quic_detect_memory_corrpution = true; |
| 137 |
| 138 // If true, QUIC public reset packets will have the \"pre-v33\" public header |
| 139 // flags. |
| 140 bool FLAGS_quic_use_old_public_reset_packets = true; |
OLD | NEW |