Commit 5044b594 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Handle error from nghttp2_session_push_back_deferred_data

parent 1e5f4cad
...@@ -2678,7 +2678,9 @@ static int session_on_connection_window_update_received ...@@ -2678,7 +2678,9 @@ static int session_on_connection_window_update_received
if(session->remote_window_size > 0) { if(session->remote_window_size > 0) {
rv = nghttp2_session_push_back_deferred_data(session); rv = nghttp2_session_push_back_deferred_data(session);
if(rv != 0) { if(rv != 0) {
return 0; /* FATAL */
assert(rv < NGHTTP2_ERR_FATAL);
return rv;
} }
} }
return nghttp2_session_call_on_frame_received(session, frame); return nghttp2_session_call_on_frame_received(session, frame);
......
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