mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-23 16:00:07 +00:00
Fix missing error handling for session_after_frame_sent1
This commit is contained in:
parent
ba0f4d77a0
commit
c3215af5f6
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user