nghttp2/lib
Tatsuhiro Tsujikawa 514558afc0 Allow NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE from nghttp2_on_begin_headers_callback
Since application most likely allocates the stream object in
nghttp2_on_begin_headers_callback, it is desirable to handle its
failure as stream error.  But previously it only signals success or
fatal error.  Submitting RST_STREAM does not prevent
nghttp2_on_header_callback from being invoked.  This commit improves
this situation by allowing NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE from
nghttp2_on_begin_headers_callback.  If that value is returned, library
submits RST_STREAM with error code INTERNAL_ERROR, and
nghttp2_on_header_callback and nghttp2_on_frame_recv_callback for that
frame are not invoked.  Note that for PUSH_PROMISE frame, the stream
to be reset is promised stream.
2015-04-23 23:43:30 +09:00
..
includes Allow NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE from nghttp2_on_begin_headers_callback 2015-04-23 23:43:30 +09:00
.gitignore Refactor .gitignore files 2015-03-29 18:40:37 +09:00
Makefile.am Validate HTTP semantics by default 2015-02-20 01:01:10 +09:00
Makefile.msvc MSVC: remove of winsock dependency 2015-04-03 12:00:06 +02:00
libnghttp2.pc.in libnghttp2: Remove dependency to zlib 2014-05-06 23:10:50 +09:00
nghttp2_buf.c Fix bug that inflater->nvbufs is not reset 2015-03-24 21:54:05 +09:00
nghttp2_buf.h Fix bug that inflater->nvbufs is not reset 2015-03-24 21:54:05 +09:00
nghttp2_callbacks.c Add nghttp2_send_data_callback to send DATA payload without copying 2015-04-04 21:23:50 +09:00
nghttp2_callbacks.h Add nghttp2_send_data_callback to send DATA payload without copying 2015-04-04 21:23:50 +09:00
nghttp2_frame.c Add nghttp2_send_data_callback to send DATA payload without copying 2015-04-04 21:23:50 +09:00
nghttp2_frame.h Add nghttp2_send_data_callback to send DATA payload without copying 2015-04-04 21:23:50 +09:00
nghttp2_hd.c Fix inline error with travis gcc-4.8 2015-04-22 23:59:23 +09:00
nghttp2_hd.h Update doc 2015-04-18 16:49:34 +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 Rewrite static header table handling 2015-04-15 23:58:56 +09:00
nghttp2_http.c Rewrite static header table handling 2015-04-15 23:58:56 +09:00
nghttp2_http.h Rewrite static header table handling 2015-04-15 23:58:56 +09:00
nghttp2_int.h fix comma at end of enumerator list [-Wpedantic] 2015-04-09 15:44:36 +02: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 "static inline" fix for build with VS2013 2015-04-03 11:55:57 +02: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 Improve weight handling a bit 2015-04-16 21:38:13 +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 Allow NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE from nghttp2_on_begin_headers_callback 2015-04-23 23:43:30 +09:00
nghttp2_session.h Improve weight handling a bit 2015-04-16 21:38:13 +09:00
nghttp2_stream.c Penalize cycle according to effective weight 2015-04-17 21:17:22 +09:00
nghttp2_stream.h Effectively revert 03c4092862 2015-04-17 21:04:17 +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