nghttpx: Issue RST_STREAM instead of returning NGHTTP2_ERR_TEMPORAL_CALLBACKFAILURE
NGHTTP2_ERR_TEMPORAL_CALLBACKFAILURE is not supported in on_frame_recv_callback.
This commit is contained in:
parent
a234166fc4
commit
7c781bcd1a
|
@ -1080,7 +1080,9 @@ int on_frame_recv_callback
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
} else if((frame->hd.flags & NGHTTP2_FLAG_END_STREAM) == 0) {
|
} else if((frame->hd.flags & NGHTTP2_FLAG_END_STREAM) == 0) {
|
||||||
return NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE;
|
http2session->submit_rst_stream(frame->hd.stream_id,
|
||||||
|
NGHTTP2_PROTOCOL_ERROR);
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue