Revert "Add missing connection error handling"

This reverts commit b7d1610141.
This commit is contained in:
Tatsuhiro Tsujikawa 2020-04-22 21:26:23 +09:00
parent 979e6c5325
commit ef41583614
1 changed files with 1 additions and 6 deletions

View File

@ -4698,13 +4698,8 @@ int nghttp2_session_on_ping_received(nghttp2_session *session,
rv = nghttp2_session_add_ping(session, NGHTTP2_FLAG_ACK, rv = nghttp2_session_add_ping(session, NGHTTP2_FLAG_ACK,
frame->ping.opaque_data); frame->ping.opaque_data);
if (rv != 0) { if (rv != 0) {
if (nghttp2_is_fatal(rv)) {
return rv; return rv;
} }
return session_handle_invalid_connection(session, frame,
NGHTTP2_ERR_INTERNAL, NULL);
}
} }
return session_call_on_frame_received(session, frame); return session_call_on_frame_received(session, frame);
} }