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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 // If true, reject any incoming QUIC which does not have the FIXD tag. | 71 // If true, reject any incoming QUIC which does not have the FIXD tag. |
72 bool FLAGS_quic_require_fix = true; | 72 bool FLAGS_quic_require_fix = true; |
73 | 73 |
74 // If true, headers stream will support receiving PUSH_PROMISE frames. | 74 // If true, headers stream will support receiving PUSH_PROMISE frames. |
75 bool FLAGS_quic_supports_push_promise = false; | 75 bool FLAGS_quic_supports_push_promise = false; |
76 | 76 |
77 // When turn on, log packet loss into transport connection stats LossEvent. | 77 // When turn on, log packet loss into transport connection stats LossEvent. |
78 bool FLAGS_quic_log_loss_event = true; | 78 bool FLAGS_quic_log_loss_event = true; |
79 | 79 |
80 // If true, for QUIC authenticated encryption algorithms, last 8 bytes | |
81 // of IV comprise packet path id and lower 7 bytes of packet number. | |
82 bool FLAGS_quic_include_path_id_in_iv = true; | |
83 | |
84 // If true, make sure new incoming streams correctly cede to higher | 80 // If true, make sure new incoming streams correctly cede to higher |
85 // priority (or batch) streams when doing QUIC writes. | 81 // priority (or batch) streams when doing QUIC writes. |
86 bool FLAGS_quic_cede_correctly = true; | 82 bool FLAGS_quic_cede_correctly = true; |
87 | 83 |
88 // If on, max number of incoming and outgoing streams will be different. | 84 // If on, max number of incoming and outgoing streams will be different. |
89 // Incoming will be a little higher than outgoing to tolerate race condition. | 85 // Incoming will be a little higher than outgoing to tolerate race condition. |
90 bool FLAGS_quic_different_max_num_open_streams = true; | 86 bool FLAGS_quic_different_max_num_open_streams = true; |
91 | 87 |
92 // If true, QUIC should correctly report if it supports ChaCha20. Otherwise, | 88 // If true, QUIC should correctly report if it supports ChaCha20. Otherwise, |
93 // QUIC will lie and claim that it does not support ChaCha20. The primary use | 89 // QUIC will lie and claim that it does not support ChaCha20. The primary use |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 // Enable a connection option allowing connections to time out if more than 5 | 134 // Enable a connection option allowing connections to time out if more than 5 |
139 // consecutive RTOs are sent. | 135 // consecutive RTOs are sent. |
140 bool FLAGS_quic_enable_rto_timeout = true; | 136 bool FLAGS_quic_enable_rto_timeout = true; |
141 | 137 |
142 // Do not limit the max CWND to 200 packets in QUIC. | 138 // Do not limit the max CWND to 200 packets in QUIC. |
143 bool FLAGS_quic_dont_limit_max_cwnd = true; | 139 bool FLAGS_quic_dont_limit_max_cwnd = true; |
144 | 140 |
145 // Don't copy QuicAckFrame or QuicStopWaitingFrame into the | 141 // Don't copy QuicAckFrame or QuicStopWaitingFrame into the |
146 // QuicPacketGenerator. | 142 // QuicPacketGenerator. |
147 bool FLAGS_quic_dont_copy_acks = true; | 143 bool FLAGS_quic_dont_copy_acks = true; |
OLD | NEW |