928a81885c
RFC 7540 does not enforce any limit on the number of incoming reserved streams (in RFC 7540 terms, streams in reserved (remote) state). This only affects client side, since only server can push streams. Malicious server can push arbitrary number of streams, and make client's memory exhausted. The new option, nghttp2_set_max_reserved_remote_streams, can set the maximum number of such incoming streams to avoid possible memory exhaustion. If this option is set, and pushed streams are automatically closed on reception, without calling user provided callback, if they exceed the given limit. The default value is 200. If session is configured as server side, this option has no effect. Server can control the number of streams to push. |
||
---|---|---|
.. | ||
testdata | ||
.gitignore | ||
Makefile.am | ||
end_to_end.py | ||
failmalloc.c | ||
failmalloc_test.c | ||
failmalloc_test.h | ||
main.c | ||
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 |