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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 // Try to use the socket timestamp to determine the time a packet was | 114 // Try to use the socket timestamp to determine the time a packet was |
115 // received instead of Now(). | 115 // received instead of Now(). |
116 bool FLAGS_quic_use_socket_timestamp = true; | 116 bool FLAGS_quic_use_socket_timestamp = true; |
117 | 117 |
118 // If true, handling of errors from invalid stream frames is done in | 118 // If true, handling of errors from invalid stream frames is done in |
119 // one place in QuicStreamSequencer::OnStreamFrame. | 119 // one place in QuicStreamSequencer::OnStreamFrame. |
120 bool FLAGS_quic_consolidate_onstreamframe_errors = true; | 120 bool FLAGS_quic_consolidate_onstreamframe_errors = true; |
121 | 121 |
122 // Resend 0RTT requests in response to an REJ that re-establishes encryption. | 122 // Resend 0RTT requests in response to an REJ that re-establishes encryption. |
123 bool FLAGS_quic_reply_to_rej = true; | 123 bool FLAGS_quic_reply_to_rej = true; |
| 124 |
| 125 // If true, QuicFramer will ignore invalid error codes when processing GoAway, |
| 126 // ConnectionClose, and RstStream frames. |
| 127 bool FLAGS_quic_ignore_invalid_error_code = true; |
OLD | NEW |