Remove dead code

This commit is contained in:
Tatsuhiro Tsujikawa 2015-11-27 21:13:44 +09:00
parent c87a062dba
commit 3d1d54e2ce
1 changed files with 0 additions and 2 deletions

View File

@ -3361,8 +3361,6 @@ int nghttp2_session_end_headers_received(nghttp2_session *session,
nghttp2_stream *stream) { nghttp2_stream *stream) {
int rv; int rv;
if (frame->hd.flags & NGHTTP2_FLAG_END_STREAM) { 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); nghttp2_stream_shutdown(stream, NGHTTP2_SHUT_RD);
rv = nghttp2_session_close_stream_if_shut_rdwr(session, stream); rv = nghttp2_session_close_stream_if_shut_rdwr(session, stream);
if (nghttp2_is_fatal(rv)) { if (nghttp2_is_fatal(rv)) {