nghttp2/tests
Tatsuhiro Tsujikawa 5e7e479c6c Workaround HTTP upgrade with HEAD request
By default, we check the length of response body matches
content-length.  For HEAD request, this is not necessarily true, so we
sniff request method, and if it is HEAD, make sure that response body
length is 0.  But this does not work for HTTP Upgrade, since
nghttp2_session_upgrade() has no parameter to tell the request method
was HEAD.  This commit disables this response body length validation
for the stream upgraded by HTTP Upgrade.  We will add new version of
nghttp2_session_upgrade with the parameter to pass the request method
information so that we can handle this situation properly.
2015-11-07 10:56:40 +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 Workaround HTTP upgrade with HEAD request 2015-11-07 10:56:40 +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 Workaround HTTP upgrade with HEAD request 2015-11-07 10:56:40 +09:00
nghttp2_session_test.h Workaround HTTP upgrade with HEAD request 2015-11-07 10:56:40 +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