mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-30 19:40:54 +00:00
e8de437d5c
Previously stream ID was assigned just before HEADERS or PUSH_PROMISE was serialized and nghttp2_submit_{request, headers, push_promise} did not return stream ID. The application has to check assigned stream ID using before_frame_send_callback. Now it is apparent that priority is meant to DATA transfer only. Also application can reorder the requests if it wants. Therefore we can assign stream ID in nghttp2_submit_* functions and return stream ID from them. With this change, now application does not have to check stream ID using before_frame_send_callback and its code will be simplified. |
||
---|---|---|
.. | ||
testdata | ||
.gitignore | ||
end_to_end.py | ||
failmalloc_test.c | ||
failmalloc_test.h | ||
failmalloc.c | ||
main.c | ||
Makefile.am | ||
malloc_wrapper.c | ||
malloc_wrapper.h | ||
nghttp2_buf_test.c | ||
nghttp2_buf_test.h | ||
nghttp2_frame_test.c | ||
nghttp2_frame_test.h | ||
nghttp2_hd_test.c | ||
nghttp2_hd_test.h | ||
nghttp2_helper_test.c | ||
nghttp2_helper_test.h | ||
nghttp2_map_test.c | ||
nghttp2_map_test.h | ||
nghttp2_npn_test.c | ||
nghttp2_npn_test.h | ||
nghttp2_pq_test.c | ||
nghttp2_pq_test.h | ||
nghttp2_queue_test.c | ||
nghttp2_queue_test.h | ||
nghttp2_session_test.c | ||
nghttp2_session_test.h | ||
nghttp2_stream_test.c | ||
nghttp2_stream_test.h | ||
nghttp2_test_helper.c | ||
nghttp2_test_helper.h |