nghttp2/tests
Tatsuhiro Tsujikawa 442572c1f4 Handle situation where request HEADERS in queue is reset by RST_STREAM
Previously we did not handle the situation where RST_STREAM is
submitted against a stream while requet HEADERS which opens that
stream is still in queue.  Due to max concurrent streams limit,
RST_STREAM is sent first, and then request HEADERS, which effectively
voids RST_STREAM.

In this commit, we checks RST_STREAM against currently pending request
HEADERS in queue and if stream ID matches, we mark that HEADERS as
canceled and RST_STREAM is not sent in this case.  The library will
call on_frame_not_sent_callback for the canceled HEADERS with error
code from RST_STREAM.
2015-02-13 23:48:16 +09:00
..
testdata Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
.gitignore Update .gitignore 2013-11-04 18:39:48 +09:00
Makefile.am Use _LDADD to specify libraries instead of _LDFLAGS 2015-01-25 00:58:30 +09:00
end_to_end.py Move spdycat, spdyd and shrpx from examples to src 2012-09-10 21:39:51 +09:00
failmalloc.c failmalloc: Use nghttp2_mem instead of using dlsym 2014-12-20 23:56:33 +09:00
failmalloc_test.c failmalloc: Use nghttp2_mem instead of using dlsym 2014-12-20 23:56:33 +09:00
failmalloc_test.h tests: Add failmalloc HPACK test 2014-05-10 21:14:25 +09:00
main.c Add test for submission ordering of HEADERS and its RST_STREAM 2015-02-12 21:28:20 +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 Support custom memory allocator 2014-12-08 00:55:55 +09:00
nghttp2_buf_test.h Remove unused functions 2014-10-30 23:31:36 +09:00
nghttp2_frame_test.c Support custom memory allocator 2014-12-08 00:55:55 +09:00
nghttp2_frame_test.h Remove altsvc 2014-12-07 23:11:54 +09:00
nghttp2_hd_test.c Make huffman encoding faster 2014-12-19 23:22:55 +09:00
nghttp2_hd_test.h Make huffman encoding faster 2014-12-19 23:22:55 +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 Support custom memory allocator 2014-12-08 00:55:55 +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 Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +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 Support custom memory allocator 2014-12-08 00:55:55 +09:00
nghttp2_pq_test.h Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +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 Handle situation where request HEADERS in queue is reset by RST_STREAM 2015-02-13 23:48:16 +09:00
nghttp2_session_test.h Add test for submission ordering of HEADERS and its RST_STREAM 2015-02-12 21:28:20 +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 Support custom memory allocator 2014-12-08 00:55:55 +09:00
nghttp2_test_helper.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00