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.h b/quic/core/quic_error_codes.h
index e07094c..298029f 100644
--- a/quic/core/quic_error_codes.h
+++ b/quic/core/quic_error_codes.h
@@ -54,6 +54,8 @@
QUIC_HEADERS_TOO_LARGE,
// The data is not likely arrive in time.
QUIC_STREAM_TTL_EXPIRED,
+ // The stream received data that goes beyond its close offset.
+ QUIC_DATA_AFTER_CLOSE_OFFSET,
// No error. Used as bound while iterating.
QUIC_STREAM_LAST_ERROR,
};