nghttp2/tests
Tatsuhiro Tsujikawa 9eff511c5e Add nghttp2_send_data_callback to send DATA payload without copying
To avoid buffer copy in nghttp2_data_source_read_callback, this commit
introduces NGHTTP2_DATA_FLAG_NO_COPY and nghttp2_send_data_callback.
By using NGHTTP2_DATA_FLAG_NO_COPY in
nghttp2_data_source_read_callback, application can avoid to copy
application data to given buffer.  Instead, application has to
implement nghttp2_send_data_callback to send complete DATA frame by
itself.  We see noticeable performance increase in nghttpd and
tiny-nghttpd using this new feature.  On the other hand, nghttpx does
not show such difference, probably because buffer copy is not
bottleneck.  Using nghttp2_send_data_callback adds complexity, so it
is recommended to measure the performance to see whether this extra
complexity worth it.
2015-04-04 21:23:50 +09:00
..
testdata Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
.gitignore Refactor .gitignore files 2015-03-29 18:40:37 +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 tests: Use nghttp2_mem instead of raw malloc()/free() 2015-03-03 23:23:43 +09:00
failmalloc_test.h tests: Add failmalloc HPACK test 2014-05-10 21:14:25 +09:00
main.c Add nghttp2_send_data_callback to send DATA payload without copying 2015-04-04 21:23:50 +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 Fix bug that inflater->nvbufs is not reset 2015-03-24 21:54:05 +09:00
nghttp2_buf_test.h Remove unused functions 2014-10-30 23:31:36 +09:00
nghttp2_frame_test.c tests: Use nghttp2_mem instead of raw malloc()/free() 2015-03-03 23:23:43 +09:00
nghttp2_frame_test.h Remove altsvc 2014-12-07 23:11:54 +09:00
nghttp2_hd_test.c NULL-terminate name and value in nghttp2_nv 2015-03-23 23:25:57 +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 tests: Use nghttp2_mem instead of raw malloc()/free() 2015-03-03 23:23:43 +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 Add nghttp2_send_data_callback to send DATA payload without copying 2015-04-04 21:23:50 +09:00
nghttp2_session_test.h Add nghttp2_send_data_callback to send DATA payload without copying 2015-04-04 21:23:50 +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 tests: Use nghttp2_mem instead of raw malloc()/free() 2015-03-03 23:23:43 +09:00
nghttp2_test_helper.h tests: Use nghttp2_mem instead of raw malloc()/free() 2015-03-03 23:23:43 +09:00