nghttp2/tests
Tatsuhiro Tsujikawa 31de732e3b Allocate header table ringbuffer lazily
Previously in inflater we reserve new ringbuffer when table size is
changed.  This may be potentially a problem if new table size is very
large number.  When inflater is not used directly by application, this
is not a problem because application can choose the buffer size.  On
the other hand, if application uses inflater directly and it does not
have control of new buffer size (e.g., protocol dissector), then we
just fail to allocate large buffer in
nghttp2_hd_inflate_change_table_size() without actually use such huge
buffer.  This change defers the actual allocation of buffer when it is
actually needed so that we will fail when it is absolutely needed.
2014-06-22 13:39:17 +09:00
..
testdata Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
.gitignore Update .gitignore 2013-11-04 18:39:48 +09:00
Makefile.am Fix unittest build error 2014-05-06 23:42:32 +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 tests: Add failmalloc HPACK test 2014-05-10 21:14:25 +09:00
failmalloc_test.c Fix failmalloc test 2014-06-18 15:12:54 +09:00
failmalloc_test.h tests: Add failmalloc HPACK test 2014-05-10 21:14:25 +09:00
main.c Allocate header table ringbuffer lazily 2014-06-22 13:39:17 +09:00
malloc_wrapper.c Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
malloc_wrapper.h Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
nghttp2_buf_test.c Fix compile error with -Wshorten-64-to-32 2014-06-11 23:37:16 +09:00
nghttp2_buf_test.h Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +09:00
nghttp2_frame_test.c Treat unknown error code as NGHTTP2_INTERNAL_ERROR 2014-06-18 11:53:32 +09:00
nghttp2_frame_test.h Implement ALTSVC frame 2014-04-01 21:47:51 +09:00
nghttp2_hd_test.c Allocate header table ringbuffer lazily 2014-06-22 13:39:17 +09:00
nghttp2_hd_test.h Allocate header table ringbuffer lazily 2014-06-22 13:39:17 +09:00
nghttp2_helper_test.c Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +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 Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +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 Change protocol ID to h2-13 2014-06-18 09:42:51 +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 Fix compile error with -Wshorten-64-to-32 2014-06-11 23:37:16 +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 Replace HTTP/2.0 with HTTP/2 2014-03-30 19:26:37 +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 test for graceful shutdown use case 2014-06-18 12:08:12 +09:00
nghttp2_session_test.h Add test for graceful shutdown use case 2014-06-18 12:08:12 +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 Fix compile error with -Wshorten-64-to-32 2014-06-11 23:37:16 +09:00
nghttp2_test_helper.h tests: Fix failmalloc tests 2014-05-10 19:40:23 +09:00