nghttp2/tests
Tatsuhiro Tsujikawa 269a100081 Add nghttp2_session_upgrade2(), deprecate nghttp2_session_upgrade()
To validate actual response body length against the value declared in
content-length response header field, we first check request method.
If request method is HEAD, respose body must be 0 regardless of the
value in content-length.  nghttp2_session_upgrade() has no parameter
to indicate the request method is HEAD, so we failed to validate
response body if HEAD is used with HTTP Upgrade.  New
nghttp2_session_upgrade2() accepts new parameter to indicate that
request method is HEAD or not to fix this issue.  Although, this issue
affects client side only, we deprecate nghttp2_session_upgrade() in
favor of nghttp2_session_upgrade2() for both client and server side.
2015-11-07 16:13:06 +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 tests: fix broken linkage with --disable-static 2015-10-26 20:33:36 +01:00
end_to_end.py Move spdycat, spdyd and shrpx from examples to src 2012-09-10 21:39:51 +09:00
failmalloc.c More warning flags for --enable-werror 2015-09-23 16:49:45 +09:00
failmalloc_test.c More warning flags for --enable-werror 2015-09-23 16:49:45 +09:00
failmalloc_test.h tests: Add failmalloc HPACK test 2014-05-10 21:14:25 +09:00
main.c Add nghttp2_session_upgrade2(), deprecate nghttp2_session_upgrade() 2015-11-07 16:13:06 +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 More warning flags for --enable-werror 2015-09-23 16:49:45 +09:00
nghttp2_buf_test.h Add test for GH-232 2015-05-15 01:00:09 +09:00
nghttp2_frame_test.c Fix warning with gcc 2015-09-23 18:26:02 +09:00
nghttp2_frame_test.h Remove altsvc 2014-12-07 23:11:54 +09:00
nghttp2_hd_test.c Don't always expect dynamic table size update 2015-10-24 17:49:51 +09:00
nghttp2_hd_test.h Strictly check occurrence of dynamic table size update 2015-07-22 00:11:23 +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 More warning flags for --enable-werror 2015-09-23 16:49:45 +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 Announce h2, final HTTP/2 ALPN identifier 2015-04-05 23:15:20 +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 Remove nghttp2_pq_increase_key 2015-08-21 23:35:17 +09:00
nghttp2_pq_test.h Remove nghttp2_pq_increase_key 2015-08-21 23:35:17 +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_session_upgrade2(), deprecate nghttp2_session_upgrade() 2015-11-07 16:13:06 +09:00
nghttp2_session_test.h Add nghttp2_session_upgrade2(), deprecate nghttp2_session_upgrade() 2015-11-07 16:13:06 +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 More warning flags for --enable-werror 2015-09-23 16:49:45 +09:00
nghttp2_test_helper.h More warning flags for --enable-werror 2015-09-23 16:49:45 +09:00