Internal QUICHE change
PiperOrigin-RevId: 309442513
Change-Id: I6586d984840e83d07bc374973db8a5446d12b580
diff --git a/quic/core/http/quic_spdy_stream.cc b/quic/core/http/quic_spdy_stream.cc
index 1a83784..51f7c5c 100644
--- a/quic/core/http/quic_spdy_stream.cc
+++ b/quic/core/http/quic_spdy_stream.cc
@@ -615,16 +615,7 @@
}
void QuicSpdyStream::OnHeadersTooLarge() {
- if (VersionUsesHttp3(transport_version())) {
- // TODO(b/124216424): Reset stream with H3_REQUEST_CANCELLED (if client)
- // or with H3_REQUEST_REJECTED (if server).
- std::string error_message =
- quiche::QuicheStrCat("Too large headers received on stream ", id());
- OnUnrecoverableError(QUIC_HEADERS_STREAM_DATA_DECOMPRESS_FAILURE,
- error_message);
- } else {
- Reset(QUIC_HEADERS_TOO_LARGE);
- }
+ Reset(QUIC_HEADERS_TOO_LARGE);
}
void QuicSpdyStream::OnInitialHeadersComplete(