Index: net/quic/quic_flags.cc |
diff --git a/net/quic/quic_flags.cc b/net/quic/quic_flags.cc |
index 8778704aeb9792299784cd0f579816a43628a26e..bd465f58e12f0fa0923fc1b34afeb6e8e95e5eb6 100644 |
--- a/net/quic/quic_flags.cc |
+++ b/net/quic/quic_flags.cc |
@@ -121,3 +121,7 @@ bool FLAGS_quic_consolidate_onstreamframe_errors = true; |
// Resend 0RTT requests in response to an REJ that re-establishes encryption. |
bool FLAGS_quic_reply_to_rej = true; |
+ |
+// Ignore invalid error codes when processing GoAway, ConnectionClose, and |
+// RstStream frames. |
+bool FLAGS_quic_ignore_invalid_error_code = true; |