| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 // Disable QUIC's userspace pacing. | 62 // Disable QUIC's userspace pacing. |
| 63 bool FLAGS_quic_disable_pacing = false; | 63 bool FLAGS_quic_disable_pacing = false; |
| 64 | 64 |
| 65 // If true, Close the connection instead of writing unencrypted stream data. | 65 // If true, Close the connection instead of writing unencrypted stream data. |
| 66 bool FLAGS_quic_never_write_unencrypted_data = true; | 66 bool FLAGS_quic_never_write_unencrypted_data = true; |
| 67 | 67 |
| 68 // If true, reject any incoming QUIC which does not have the FIXD tag. | 68 // If true, reject any incoming QUIC which does not have the FIXD tag. |
| 69 bool FLAGS_quic_require_fix = true; | 69 bool FLAGS_quic_require_fix = true; |
| 70 | 70 |
| 71 // If true, headers stream will support receiving PUSH_PROMISE frames. | 71 // If true, headers stream will support receiving PUSH_PROMISE frames. |
| 72 bool FLAGS_quic_supports_push_promise = false; | 72 bool FLAGS_quic_supports_push_promise = true; |
| 73 | 73 |
| 74 // When turn on, log packet loss into transport connection stats LossEvent. | 74 // When turn on, log packet loss into transport connection stats LossEvent. |
| 75 bool FLAGS_quic_log_loss_event = true; | 75 bool FLAGS_quic_log_loss_event = true; |
| 76 | 76 |
| 77 // If true, make sure new incoming streams correctly cede to higher | 77 // If true, make sure new incoming streams correctly cede to higher |
| 78 // priority (or batch) streams when doing QUIC writes. | 78 // priority (or batch) streams when doing QUIC writes. |
| 79 bool FLAGS_quic_cede_correctly = true; | 79 bool FLAGS_quic_cede_correctly = true; |
| 80 | 80 |
| 81 // If on, max number of incoming and outgoing streams will be different. | 81 // If on, max number of incoming and outgoing streams will be different. |
| 82 // Incoming will be a little higher than outgoing to tolerate race condition. | 82 // Incoming will be a little higher than outgoing to tolerate race condition. |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 // Do not limit the max CWND to 200 packets in QUIC. | 131 // Do not limit the max CWND to 200 packets in QUIC. |
| 132 bool FLAGS_quic_dont_limit_max_cwnd = true; | 132 bool FLAGS_quic_dont_limit_max_cwnd = true; |
| 133 | 133 |
| 134 // Don't copy QuicAckFrame or QuicStopWaitingFrame into the | 134 // Don't copy QuicAckFrame or QuicStopWaitingFrame into the |
| 135 // QuicPacketGenerator. | 135 // QuicPacketGenerator. |
| 136 bool FLAGS_quic_dont_copy_acks = true; | 136 bool FLAGS_quic_dont_copy_acks = true; |
| 137 | 137 |
| 138 // Use a byte conservation approach instead of packet conservation in the | 138 // Use a byte conservation approach instead of packet conservation in the |
| 139 // Slow Start Large Reduction experiment. | 139 // Slow Start Large Reduction experiment. |
| 140 bool FLAGS_quic_sslr_byte_conservation = true; | 140 bool FLAGS_quic_sslr_byte_conservation = true; |
| OLD | NEW |