Commit c3215af5 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Fix missing error handling for session_after_frame_sent1

parent ba0f4d77
......@@ -2741,6 +2741,11 @@ static ssize_t nghttp2_session_mem_send_internal(nghttp2_session *session,
rv = session_after_frame_sent2(session);
} else {
rv = session_after_frame_sent1(session);
if (rv < 0) {
/* FATAL */
assert(nghttp2_is_fatal(rv));
return rv;
}
rv = session_after_frame_sent2(session);
}
if (rv < 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment