2288ee8060
Previously, stream object for pushed resource was not created during nghttp2_submit_push_promise(). It was created just before nghttp2_before_frame_send_callback was called for that PUSH_PROMISE frame. This means that application could not call nghttp2_submit_response for the pushed resource before nghttp2_before_frame_send_callback was called. This could be solved by callback chaining, but for web server with back pressure from backend stream, it is a bit unnecessarily hard to use. This commit changes nghttp2_submit_push_promise() behaviour so that stream object is created during that call. It makes application call nghttp2_submit_response right after successful nghttp2_submit_push_promise call. |
||
---|---|---|
.. | ||
nghttp2 | ||
Makefile.am |