| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 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, don't send QUIC packets if the send alarm is set. | 65 // If true, don't send QUIC packets if the send alarm is set. |
| 66 bool FLAGS_quic_respect_send_alarm2 = true; | 66 bool FLAGS_quic_respect_send_alarm2 = true; |
| 67 | 67 |
| 68 // If true, Close the connection instead of writing unencrypted stream data. | 68 // If true, Close the connection instead of writing unencrypted stream data. |
| 69 bool FLAGS_quic_never_write_unencrypted_data = true; | 69 bool FLAGS_quic_never_write_unencrypted_data = true; |
| 70 | 70 |
| 71 // If true, clear the FEC group instead of sending it with ENCRYPTION_NONE. | |
| 72 // Close the connection if we ever try to serialized unencrypted FEC. | |
| 73 bool FLAGS_quic_no_unencrypted_fec = true; | |
| 74 | |
| 75 // 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. |
| 76 bool FLAGS_quic_require_fix = true; | 72 bool FLAGS_quic_require_fix = true; |
| 77 | 73 |
| 78 // If true, headers stream will support receiving PUSH_PROMISE frames. | 74 // If true, headers stream will support receiving PUSH_PROMISE frames. |
| 79 bool FLAGS_quic_supports_push_promise = false; | 75 bool FLAGS_quic_supports_push_promise = false; |
| 80 | 76 |
| 81 // If true, QUIC will support RFC 7539 variants of ChaCha20 Poly1305. | 77 // If true, QUIC will support RFC 7539 variants of ChaCha20 Poly1305. |
| 82 bool FLAGS_quic_use_rfc7539 = true; | 78 bool FLAGS_quic_use_rfc7539 = true; |
| 83 | 79 |
| 84 // When turn on, log packet loss into transport connection stats LossEvent. | 80 // When turn on, log packet loss into transport connection stats LossEvent. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 | 119 |
| 124 // QUIC Ack Decimation with tolerance for packet reordering. | 120 // QUIC Ack Decimation with tolerance for packet reordering. |
| 125 bool FLAGS_quic_ack_decimation2 = true; | 121 bool FLAGS_quic_ack_decimation2 = true; |
| 126 | 122 |
| 127 // If true, QUIC connections will defer responding to ACKs to their send alarms. | 123 // If true, QUIC connections will defer responding to ACKs to their send alarms. |
| 128 bool FLAGS_quic_connection_defer_ack_response = true; | 124 bool FLAGS_quic_connection_defer_ack_response = true; |
| 129 | 125 |
| 130 // If true, calls to QuicAlarm::Cancel don't do anything if the alarm is not | 126 // If true, calls to QuicAlarm::Cancel don't do anything if the alarm is not |
| 131 // set. | 127 // set. |
| 132 bool FLAGS_quic_only_cancel_set_alarms = true; | 128 bool FLAGS_quic_only_cancel_set_alarms = true; |
| OLD | NEW |