nghttp2_submit_shutdown_notice() is used to notify the client that graceful shutdown is started. We expect that after this call, the server application should send another GOAWAY using nghttp2_submit_goaway() with appropriate last_stream_id. In this commit, we also added nghttp2_session_get_last_proc_stream_id(), which can be used as last_stream_id parameter. This commit implements graceful shutdown in nghttpx. The integration test for graceful shutdown is also added. |
||
---|---|---|
.. | ||
includes | ||
Makefile.am | ||
Makefile.msvc | ||
libnghttp2.pc.in | ||
nghttp2_buf.c | ||
nghttp2_buf.h | ||
nghttp2_callbacks.c | ||
nghttp2_callbacks.h | ||
nghttp2_frame.c | ||
nghttp2_frame.h | ||
nghttp2_hd.c | ||
nghttp2_hd.h | ||
nghttp2_hd_huffman.c | ||
nghttp2_hd_huffman.h | ||
nghttp2_hd_huffman_data.c | ||
nghttp2_helper.c | ||
nghttp2_helper.h | ||
nghttp2_int.h | ||
nghttp2_map.c | ||
nghttp2_map.h | ||
nghttp2_mem.c | ||
nghttp2_mem.h | ||
nghttp2_net.h | ||
nghttp2_npn.c | ||
nghttp2_npn.h | ||
nghttp2_option.c | ||
nghttp2_option.h | ||
nghttp2_outbound_item.c | ||
nghttp2_outbound_item.h | ||
nghttp2_pq.c | ||
nghttp2_pq.h | ||
nghttp2_priority_spec.c | ||
nghttp2_priority_spec.h | ||
nghttp2_queue.c | ||
nghttp2_queue.h | ||
nghttp2_session.c | ||
nghttp2_session.h | ||
nghttp2_stream.c | ||
nghttp2_stream.h | ||
nghttp2_submit.c | ||
nghttp2_submit.h | ||
nghttp2_version.c |