aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test1231
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-05-16 18:03:47 +0900
committerDaniel Stenberg <daniel@haxx.se>2015-05-18 09:33:48 +0200
commit4ac6cc3ebdd7cc6813a78d2a93ba0a2eb06351ba (patch)
treeb94df914abb68addad1cfe3eeb62395397eee4f8 /tests/data/test1231
parent077f12b0aeb5463e9a624285ba2915c46a574a4d (diff)
Require nghttp2 v1.0.0
This commit requires nghttp2 v1.0.0 to compile, and migrate to v1.0.0, and utilize recent version of nghttp2 to simplify the code, First we use nghttp2_option_set_no_recv_client_magic function to detect nghttp2 v1.0.0. That function only exists since v1.0.0. Since nghttp2 v0.7.5, nghttp2 ensures header field ordering, and validates received header field. If it found error, RST_STREAM with PROTOCOL_ERROR is issued. Since we require v1.0.0, we can utilize this feature to simplify libcurl code. This commit does this. Migration from 0.7 series are done based on nghttp2 migration document. For libcurl, we removed the code sending first 24 bytes client magic. It is now done by nghttp2 library. on_invalid_frame_recv callback signature changed, and is updated accordingly.
Diffstat (limited to 'tests/data/test1231')
0 files changed, 0 insertions, 0 deletions