nghttp2/tests
Tatsuhiro Tsujikawa 928a81885c Limit the number of incoming reserved (remote) streams
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.
2015-08-23 21:43:41 +09:00
..
testdata Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
.gitignore Refactor .gitignore files 2015-03-29 18:40:37 +09:00
Makefile.am Use _LDADD to specify libraries instead of _LDFLAGS 2015-01-25 00:58:30 +09:00
end_to_end.py
failmalloc.c failmalloc: Use nghttp2_mem instead of using dlsym 2014-12-20 23:56:33 +09:00
failmalloc_test.c Fix invalid memory free 2015-05-22 23:36:34 +09:00
failmalloc_test.h tests: Add failmalloc HPACK test 2014-05-10 21:14:25 +09:00
main.c Remove nghttp2_pq_increase_key 2015-08-21 23:35:17 +09:00
malloc_wrapper.c failmalloc: Use nghttp2_mem instead of using dlsym 2014-12-20 23:56:33 +09:00
malloc_wrapper.h failmalloc: Use nghttp2_mem instead of using dlsym 2014-12-20 23:56:33 +09:00
nghttp2_buf_test.c Add test for GH-232 2015-05-15 01:00:09 +09:00
nghttp2_buf_test.h Add test for GH-232 2015-05-15 01:00:09 +09:00
nghttp2_frame_test.c Header table size UINT32_MAX must be accepted 2015-07-30 21:19:46 +09:00
nghttp2_frame_test.h Remove altsvc 2014-12-07 23:11:54 +09:00
nghttp2_hd_test.c Strictly check occurrence of dynamic table size update 2015-07-22 00:11:23 +09:00
nghttp2_hd_test.h Strictly check occurrence of dynamic table size update 2015-07-22 00:11:23 +09:00
nghttp2_helper_test.c Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_helper_test.h Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
nghttp2_map_test.c tests: Use nghttp2_mem instead of raw malloc()/free() 2015-03-03 23:23:43 +09:00
nghttp2_map_test.h Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
nghttp2_npn_test.c Announce h2, final HTTP/2 ALPN identifier 2015-04-05 23:15:20 +09:00
nghttp2_npn_test.h Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
nghttp2_pq_test.c Remove nghttp2_pq_increase_key 2015-08-21 23:35:17 +09:00
nghttp2_pq_test.h Remove nghttp2_pq_increase_key 2015-08-21 23:35:17 +09:00
nghttp2_queue_test.c Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_queue_test.h Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
nghttp2_session_test.c Limit the number of incoming reserved (remote) streams 2015-08-23 21:43:41 +09:00
nghttp2_session_test.h Add stream public API 2015-08-19 23:04:06 +09:00
nghttp2_stream_test.c Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
nghttp2_stream_test.h Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
nghttp2_test_helper.c tests: Break if all compressed header input processed in nghttp2_buf 2015-05-27 00:33:24 +09:00
nghttp2_test_helper.h tests: Use nghttp2_mem instead of raw malloc()/free() 2015-03-03 23:23:43 +09:00