From ef41583614e95efd12b6cce821e34837c1b28ed0 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 22 Apr 2020 21:26:23 +0900 Subject: [PATCH] Revert "Add missing connection error handling" This reverts commit b7d16101413276884d7f51c64f989f5f61abecb8. --- lib/nghttp2_session.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/nghttp2_session.c b/lib/nghttp2_session.c index 2efcfc69..563ccd7d 100644 --- a/lib/nghttp2_session.c +++ b/lib/nghttp2_session.c @@ -4698,12 +4698,7 @@ int nghttp2_session_on_ping_received(nghttp2_session *session, rv = nghttp2_session_add_ping(session, NGHTTP2_FLAG_ACK, frame->ping.opaque_data); if (rv != 0) { - if (nghttp2_is_fatal(rv)) { - return rv; - } - - return session_handle_invalid_connection(session, frame, - NGHTTP2_ERR_INTERNAL, NULL); + return rv; } } return session_call_on_frame_received(session, frame);