nghttp2/lib
Tatsuhiro Tsujikawa 2f2a535113 Add a way to send trailer with nghttp2_submit_request/nghttp2_submit_response
nghttp2_submit_request and nghttp2_submit_response will set
NGHTTP2_FLAG_END_STREAM after all given data is sent (data could be
0).  This means we have no way to send trailers.  In this commit, we
added NGHTTP2_DATA_FLAG_NO_END_STREAM flag.  The application can set
this flag in *data_flags inside nghttp2_data_source_read_callback.  If
NGHTTP2_DATA_FLAG_EOF is set, library automatically set
NGHTTP2_FLAG_END_STREAM.  But if both NGHTTP2_DATA_FLAG_EOF and
NGHTTP2_DATA_FLAG_NO_END_STREAM are set, NGHTTP2_FLAG_END_STREAM will
not set by library.  Then application can use new
nghttp2_submit_trailer() to send trailers.  nghttp2_submit_trailer()
will set NGHTTP2_FLAG_END_STREAM and it is actually thing wrapper of
nghttp2_submit_headers().
2015-03-07 17:09:29 +09:00
..
includes Add a way to send trailer with nghttp2_submit_request/nghttp2_submit_response 2015-03-07 17:09:29 +09:00
Makefile.am Validate HTTP semantics by default 2015-02-20 01:01:10 +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 Add parentheses around macro parameters 2015-02-22 17:43:14 +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 Add missing entry to nghttp2_strerror() 2015-02-26 23:04:38 +09:00
nghttp2_helper.h Support custom memory allocator 2014-12-08 00:55:55 +09:00
nghttp2_http.c Call on_invalid_frame_recv_callback on bad HTTP messaging 2015-02-26 22:59:07 +09:00
nghttp2_http.h Call on_invalid_frame_recv_callback on bad HTTP messaging 2015-02-26 22:59:07 +09:00
nghttp2_int.h Call on_invalid_frame_recv_callback on bad HTTP messaging 2015-02-26 22:59:07 +09:00
nghttp2_map.c Support custom memory allocator 2014-12-08 00:55:55 +09:00
nghttp2_map.h Fix -Werror=cast-align error on 32 bit platform 2015-03-03 22:36:24 +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 Add nghttp2_option_set_no_http_messaging() API function 2015-02-20 23:26:56 +09:00
nghttp2_option.h Add nghttp2_option_set_no_http_messaging() API function 2015-02-20 23:26:56 +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 Add a way to send trailer with nghttp2_submit_request/nghttp2_submit_response 2015-03-07 17:09:29 +09:00
nghttp2_session.h Refuse PUSH_PROMISE while unacked local ENABLE_PUSH is 0 2015-03-07 16:17:40 +09:00
nghttp2_stream.c Fix -Werror=cast-align error on 32 bit platform 2015-03-03 22:36:24 +09:00
nghttp2_stream.h Insert '_' before header name nghttp2_http_flag to consistent with token 2015-02-20 19:30:34 +09:00
nghttp2_submit.c Add a way to send trailer with nghttp2_submit_request/nghttp2_submit_response 2015-03-07 17:09:29 +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