Index: net/quic/quic_flags.cc |
diff --git a/net/quic/quic_flags.cc b/net/quic/quic_flags.cc |
index 8778704aeb9792299784cd0f579816a43628a26e..3f9147b9f054bfde2840d4896a23da69ba3d1198 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; |
+ |
+// If true, QuicFramer will ignore invalid error codes when processing GoAway, |
+// ConnectionClose, and RstStream frames. |
+bool FLAGS_quic_ignore_invalid_error_code = true; |