diff --git a/lib/nghttp2_session.c b/lib/nghttp2_session.c index 473b3807..a02f3c35 100644 --- a/lib/nghttp2_session.c +++ b/lib/nghttp2_session.c @@ -3361,8 +3361,6 @@ int nghttp2_session_end_headers_received(nghttp2_session *session, nghttp2_stream *stream) { int rv; if (frame->hd.flags & NGHTTP2_FLAG_END_STREAM) { - if (!nghttp2_session_is_my_stream_id(session, frame->hd.stream_id)) { - } nghttp2_stream_shutdown(stream, NGHTTP2_SHUT_RD); rv = nghttp2_session_close_stream_if_shut_rdwr(session, stream); if (nghttp2_is_fatal(rv)) {