nghttp2/tests
Geoff Hill 866eadb5de Enable session_create_idle_stream test, fix errors
Add the currently-unused `test_nghttp2_session_create_idle_stream()`
function to the test suite definition.

Modify the test in two places to make it pass:

  * Use stream ID=10 as the priority stream ID to test automatic creation
    of streams for priority specs. The code below checks against stream
    ID=10 so I assume this was a typo in the test.

  * Set the `last_sent_stream_id` instead of the `next_stream_id` to test
    that idle streams cannot be created with smaller numbers than the
    most-recently-seen stream ID. Looking at the validation path in
    `session_detect_idle_stream()`, I think this was another test typo.
2020-01-23 17:29:19 -08: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
CMakeLists.txt cmake: fix compatibility with cmake before 3.3 2016-03-13 12:30:41 +01:00
Makefile.am Add CMake-related files to EXTRA_DIST 2016-03-12 01:38:12 +01:00
end_to_end.py Move spdycat, spdyd and shrpx from examples to src 2012-09-10 21:39:51 +09:00
failmalloc.c Compile with clang-6.0 2018-06-09 16:27:43 +09:00
failmalloc_test.c Implement ORIGIN frame 2018-05-12 12:35:08 +09:00
failmalloc_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
main.c Enable session_create_idle_stream test, fix errors 2020-01-23 17:29:19 -08:00
malloc_wrapper.c Eliminate _U_ macro 2017-03-11 18:45:49 +09:00
malloc_wrapper.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
nghttp2_buf_test.c More warning flags for --enable-werror 2015-09-23 16:49:45 +09:00
nghttp2_buf_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
nghttp2_frame_test.c Implement ORIGIN frame 2018-05-12 12:35:08 +09:00
nghttp2_frame_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
nghttp2_hd_test.c Fail fast if huffman decoding context is in failure state 2019-11-09 17:18:11 +09:00
nghttp2_hd_test.h Faster huffman decoding 2019-10-12 14:30:31 +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 Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
nghttp2_map_test.c Eliminate _U_ macro 2017-03-11 18:45:49 +09:00
nghttp2_map_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
nghttp2_npn_test.c Include config.h from tests/*.h 2016-03-19 11:46:49 +09:00
nghttp2_npn_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
nghttp2_pq_test.c Eliminate _U_ macro 2017-03-11 18:45:49 +09:00
nghttp2_pq_test.h Enable IndentPPDirectives 2018-06-09 16:21:30 +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 Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
nghttp2_session_test.c Enable session_create_idle_stream test, fix errors 2020-01-23 17:29:19 -08:00
nghttp2_session_test.h Fix bug that on_header callback is still called after stream is closed 2019-04-11 10:17:01 +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 Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00
nghttp2_test_helper.c Implement ORIGIN frame 2018-05-12 12:35:08 +09:00
nghttp2_test_helper.h Enable IndentPPDirectives 2018-06-09 16:21:30 +09:00