| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 // Net.QuicSession.HeadersHOLBlockedTime. | 65 // Net.QuicSession.HeadersHOLBlockedTime. |
| 66 bool FLAGS_quic_measure_headers_hol_blocking_time = true; | 66 bool FLAGS_quic_measure_headers_hol_blocking_time = true; |
| 67 | 67 |
| 68 // Disable QUIC's userspace pacing. | 68 // Disable QUIC's userspace pacing. |
| 69 bool FLAGS_quic_disable_pacing = false; | 69 bool FLAGS_quic_disable_pacing = false; |
| 70 | 70 |
| 71 // If true, Use QUIC's GeneralLossAlgorithm implementation instead of | 71 // If true, Use QUIC's GeneralLossAlgorithm implementation instead of |
| 72 // TcpLossAlgorithm or TimeLossAlgorithm. | 72 // TcpLossAlgorithm or TimeLossAlgorithm. |
| 73 bool FLAGS_quic_general_loss_algorithm = true; | 73 bool FLAGS_quic_general_loss_algorithm = true; |
| 74 | 74 |
| 75 // If true, use the unrolled prefetch path in QuicPacketCreator::CopyToBuffer. | |
| 76 bool FLAGS_quic_packet_creator_prefetch = false; | |
| 77 | |
| 78 // If true, only migrate QUIC connections when client address changes are | 75 // If true, only migrate QUIC connections when client address changes are |
| 79 // considered to be caused by NATs. | 76 // considered to be caused by NATs. |
| 80 bool FLAGS_quic_disable_non_nat_address_migration = true; | 77 bool FLAGS_quic_disable_non_nat_address_migration = true; |
| 81 | 78 |
| 82 // If true, QUIC connections will timeout when packets are not being recieved, | 79 // If true, QUIC connections will timeout when packets are not being recieved, |
| 83 // even if they are being sent. | 80 // even if they are being sent. |
| 84 bool FLAGS_quic_use_new_idle_timeout = true; | 81 bool FLAGS_quic_use_new_idle_timeout = true; |
| 85 | 82 |
| 86 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data | 83 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data |
| 87 // structure for QuicStreamSequencer bufferring. | 84 // structure for QuicStreamSequencer bufferring. |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 // check while creating a new stream. | 120 // check while creating a new stream. |
| 124 bool FLAGS_quic_distinguish_incoming_outgoing_streams = true; | 121 bool FLAGS_quic_distinguish_incoming_outgoing_streams = true; |
| 125 | 122 |
| 126 // If true, QUIC servers will attempt to validate a client's source | 123 // If true, QUIC servers will attempt to validate a client's source |
| 127 // address token using the primary config, even if no server config id | 124 // address token using the primary config, even if no server config id |
| 128 // is present in the client hello. | 125 // is present in the client hello. |
| 129 bool FLAGS_quic_validate_stk_without_scid = true; | 126 bool FLAGS_quic_validate_stk_without_scid = true; |
| 130 | 127 |
| 131 // If true, use the new write blocked list for QUIC. | 128 // If true, use the new write blocked list for QUIC. |
| 132 bool FLAGS_quic_new_blocked_list = true; | 129 bool FLAGS_quic_new_blocked_list = true; |
| OLD | NEW |