Reset stream if stream frame contains data that goes beyond stream's close offset. This fixes http://crbug/1002119 gfe-relnote: protected by gfe2_reloadable_flag_quic_rst_if_stream_frame_beyond_close_offset. PiperOrigin-RevId: 268732204 Change-Id: I66f845e320de89e8634b1bfb0725f599fc43dfd6
diff --git a/quic/core/quic_error_codes.cc b/quic/core/quic_error_codes.cc index 1be1786..e69cd60 100644 --- a/quic/core/quic_error_codes.cc +++ b/quic/core/quic_error_codes.cc
@@ -29,6 +29,7 @@ RETURN_STRING_LITERAL(QUIC_INVALID_PROMISE_METHOD); RETURN_STRING_LITERAL(QUIC_PUSH_STREAM_TIMED_OUT); RETURN_STRING_LITERAL(QUIC_HEADERS_TOO_LARGE); + RETURN_STRING_LITERAL(QUIC_DATA_AFTER_CLOSE_OFFSET); RETURN_STRING_LITERAL(QUIC_STREAM_TTL_EXPIRED); } // Return a default value so that we return this when |error| doesn't match