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
.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 Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
nghttp2_pq_test.c
nghttp2_pq_test.h
nghttp2_queue_test.c
nghttp2_queue_test.h
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
nghttp2_stream_test.c
nghttp2_stream_test.h
nghttp2_test_helper.c Support custom memory allocator 2014-12-08 00:55:55 +09:00
nghttp2_test_helper.h