| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 78 |
| 79 // 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, |
| 80 // even if they are being sent. | 80 // even if they are being sent. |
| 81 bool FLAGS_quic_use_new_idle_timeout = true; | 81 bool FLAGS_quic_use_new_idle_timeout = true; |
| 82 | 82 |
| 83 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data | 83 // If true, replace QuicFrameList with StreamSequencerBuffer as underlying data |
| 84 // structure for QuicStreamSequencer bufferring. | 84 // structure for QuicStreamSequencer bufferring. |
| 85 bool FLAGS_quic_use_stream_sequencer_buffer = true; | 85 bool FLAGS_quic_use_stream_sequencer_buffer = true; |
| 86 | 86 |
| 87 // If true, don't send QUIC packets if the send alarm is set. | 87 // If true, don't send QUIC packets if the send alarm is set. |
| 88 bool FLAGS_quic_respect_send_alarm = true; | 88 bool FLAGS_quic_respect_send_alarm2 = true; |
| 89 | 89 |
| 90 // If ture, sets callback pointer to nullptr after calling Cancel() in | 90 // If ture, sets callback pointer to nullptr after calling Cancel() in |
| 91 // QuicCryptoServerStream::CancelOutstandingCallbacks. | 91 // QuicCryptoServerStream::CancelOutstandingCallbacks. |
| 92 bool FLAGS_quic_set_client_hello_cb_nullptr = true; | 92 bool FLAGS_quic_set_client_hello_cb_nullptr = true; |
| 93 | 93 |
| 94 // If treu, Only track a single retransmission in QUIC's TransmissionInfo | 94 // If treu, Only track a single retransmission in QUIC's TransmissionInfo |
| 95 // struct. | 95 // struct. |
| 96 bool FLAGS_quic_track_single_retransmission = true; | 96 bool FLAGS_quic_track_single_retransmission = true; |
| 97 | 97 |
| 98 // If true, allow each quic stream to write 16k blocks rather than doing a round | 98 // If true, allow each quic stream to write 16k blocks rather than doing a round |
| (...skipping 21 matching lines...) Expand all Loading... |
| 120 // check while creating a new stream. | 120 // check while creating a new stream. |
| 121 bool FLAGS_quic_distinguish_incoming_outgoing_streams = true; | 121 bool FLAGS_quic_distinguish_incoming_outgoing_streams = true; |
| 122 | 122 |
| 123 // 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 |
| 124 // 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 |
| 125 // is present in the client hello. | 125 // is present in the client hello. |
| 126 bool FLAGS_quic_validate_stk_without_scid = true; | 126 bool FLAGS_quic_validate_stk_without_scid = true; |
| 127 | 127 |
| 128 // If true, use the new write blocked list for QUIC. | 128 // If true, use the new write blocked list for QUIC. |
| 129 bool FLAGS_quic_new_blocked_list = true; | 129 bool FLAGS_quic_new_blocked_list = true; |
| OLD | NEW |