| 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, QUIC connections will timeout when packets are not being recieved, | 65 // If true, QUIC connections will timeout when packets are not being recieved, |
| 66 // even if they are being sent. | 66 // even if they are being sent. |
| 67 bool FLAGS_quic_use_new_idle_timeout = true; | 67 bool FLAGS_quic_use_new_idle_timeout = true; |
| 68 | 68 |
| 69 // If true, don't send QUIC packets if the send alarm is set. | 69 // If true, don't send QUIC packets if the send alarm is set. |
| 70 bool FLAGS_quic_respect_send_alarm2 = true; | 70 bool FLAGS_quic_respect_send_alarm2 = true; |
| 71 | 71 |
| 72 // If true, allow each quic stream to write 16k blocks rather than doing a round | |
| 73 // robin of one packet per session when ack clocked or paced. | |
| 74 bool FLAGS_quic_batch_writes = true; | |
| 75 | |
| 76 // If true, QUIC sessions will write block streams that attempt to write | 72 // If true, QUIC sessions will write block streams that attempt to write |
| 77 // unencrypted data. | 73 // unencrypted data. |
| 78 bool FLAGS_quic_block_unencrypted_writes = true; | 74 bool FLAGS_quic_block_unencrypted_writes = true; |
| 79 | 75 |
| 80 // If true, Close the connection instead of writing unencrypted stream data. | 76 // If true, Close the connection instead of writing unencrypted stream data. |
| 81 bool FLAGS_quic_never_write_unencrypted_data = true; | 77 bool FLAGS_quic_never_write_unencrypted_data = true; |
| 82 | 78 |
| 83 // If true, clear the FEC group instead of sending it with ENCRYPTION_NONE. | 79 // If true, clear the FEC group instead of sending it with ENCRYPTION_NONE. |
| 84 // Close the connection if we ever try to serialized unencrypted FEC. | 80 // Close the connection if we ever try to serialized unencrypted FEC. |
| 85 bool FLAGS_quic_no_unencrypted_fec = true; | 81 bool FLAGS_quic_no_unencrypted_fec = true; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 // Saves the initial subkey secret in QUIC crypto when deriving keys from the | 133 // Saves the initial subkey secret in QUIC crypto when deriving keys from the |
| 138 // initial premaster secret. | 134 // initial premaster secret. |
| 139 bool FLAGS_quic_save_initial_subkey_secret = true; | 135 bool FLAGS_quic_save_initial_subkey_secret = true; |
| 140 | 136 |
| 141 // If true, the QUIC dispatcher will directly send version negotiation packets | 137 // If true, the QUIC dispatcher will directly send version negotiation packets |
| 142 // without needing to create a QUIC session first. | 138 // without needing to create a QUIC session first. |
| 143 bool FLAGS_quic_stateless_version_negotiation = false; | 139 bool FLAGS_quic_stateless_version_negotiation = false; |
| 144 | 140 |
| 145 // QUIC Ack Decimation with tolerance for packet reordering. | 141 // QUIC Ack Decimation with tolerance for packet reordering. |
| 146 bool FLAGS_quic_ack_decimation2 = true; | 142 bool FLAGS_quic_ack_decimation2 = true; |
| OLD | NEW |