Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: net/quic/quic_flags.cc

Issue 1904833002: Ignore invalid error code in QuicFramer when process GoAway, ConnectionClose, (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@119529330
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/quic_flags.h ('k') | net/quic/quic_framer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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;
OLDNEW
« no previous file with comments | « net/quic/quic_flags.h ('k') | net/quic/quic_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698