nghttp2/lib
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
..
includes Update doc 2015-02-12 23:54:38 +09:00
Makefile.am Remove AM_EXTRA_RECURSIVE_TARGETS since travis automake is too old 2015-01-21 02:07:16 +09:00
Makefile.msvc Move Makefile.msvc under lib 2014-09-24 00:44:45 +09:00
libnghttp2.pc.in libnghttp2: Remove dependency to zlib 2014-05-06 23:10:50 +09:00
nghttp2_buf.c Support custom memory allocator 2014-12-08 00:55:55 +09:00
nghttp2_buf.h Support custom memory allocator 2014-12-08 00:55:55 +09:00
nghttp2_callbacks.c Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_callbacks.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_frame.c Support custom memory allocator 2014-12-08 00:55:55 +09:00
nghttp2_frame.h Make default min frame payload size to 16K 2015-02-12 00:09:18 +09:00
nghttp2_hd.c Fix memory leak 2014-12-18 21:02:44 +09:00
nghttp2_hd.h Support custom memory allocator 2014-12-08 00:55:55 +09:00
nghttp2_hd_huffman.c Fix other shorten-64-to-32 casting error found by MSVC (64bits) 2015-01-10 15:17:31 +01:00
nghttp2_hd_huffman.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_hd_huffman_data.c Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_helper.c Suppress to send frames other than GOAWAY if NGHTTP2_GOAWAY_TERM_ON_SEND is set 2015-01-15 22:32:29 +09:00
nghttp2_helper.h Support custom memory allocator 2014-12-08 00:55:55 +09:00
nghttp2_int.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_map.c Support custom memory allocator 2014-12-08 00:55:55 +09:00
nghttp2_map.h Support custom memory allocator 2014-12-08 00:55:55 +09:00
nghttp2_mem.c Remove return in void function 2015-01-09 20:56:37 +09:00
nghttp2_mem.h Support custom memory allocator 2014-12-08 00:55:55 +09:00
nghttp2_net.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_npn.c Refactor ALPN/NPN protocol selection and introduce NGHTTP2_PROTO_ALPN macro 2015-02-06 22:35:30 +09:00
nghttp2_npn.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_option.c Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_option.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_outbound_item.c Support custom memory allocator 2014-12-08 00:55:55 +09:00
nghttp2_outbound_item.h Handle situation where request HEADERS in queue is reset by RST_STREAM 2015-02-13 23:48:16 +09:00
nghttp2_pq.c Handle situation where request HEADERS in queue is reset by RST_STREAM 2015-02-13 23:48:16 +09:00
nghttp2_pq.h Handle situation where request HEADERS in queue is reset by RST_STREAM 2015-02-13 23:48:16 +09:00
nghttp2_priority_spec.c Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_priority_spec.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_queue.c Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_queue.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_session.c Handle situation where request HEADERS in queue is reset by RST_STREAM 2015-02-13 23:48:16 +09:00
nghttp2_session.h Fix bug that client may send PROTOCOL_ERROR upon canceled push stream 2015-02-09 22:23:20 +09:00
nghttp2_stream.c Fix bug that client may send PROTOCOL_ERROR upon canceled push stream 2015-02-09 22:23:20 +09:00
nghttp2_stream.h Fix bug that client may send PROTOCOL_ERROR upon canceled push stream 2015-02-09 22:23:20 +09:00
nghttp2_submit.c Add nghttp2_submit_shutdown_notice() to start graceful shutdown 2015-01-22 23:21:58 +09:00
nghttp2_submit.h Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00
nghttp2_version.c Reformat lines with clang-format-3.5 2014-11-27 23:56:30 +09:00