From 317b8baa4f132308b93b50b7a807feb362f3dfca Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 7 Jun 2014 19:39:14 +0900 Subject: [PATCH] Set HTTP/2 protocol id to h2-13 for now --- lib/includes/nghttp2/nghttp2.h | 4 ++-- tests/nghttp2_npn_test.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/includes/nghttp2/nghttp2.h b/lib/includes/nghttp2/nghttp2.h index cb867e2b..65365071 100644 --- a/lib/includes/nghttp2/nghttp2.h +++ b/lib/includes/nghttp2/nghttp2.h @@ -41,7 +41,7 @@ extern "C" { * The protocol version identification string of this library * supports. This identifier is used if HTTP/2 is used over TLS. */ -#define NGHTTP2_PROTO_VERSION_ID "h2-12" +#define NGHTTP2_PROTO_VERSION_ID "h2-13" /** * @macro * @@ -56,7 +56,7 @@ extern "C" { * supports. This identifier is used if HTTP/2 is used over cleartext * TCP. */ -#define NGHTTP2_CLEARTEXT_PROTO_VERSION_ID "h2c-12" +#define NGHTTP2_CLEARTEXT_PROTO_VERSION_ID "h2c-13" /** * @macro diff --git a/tests/nghttp2_npn_test.c b/tests/nghttp2_npn_test.c index 39139ba3..fe42ba0a 100644 --- a/tests/nghttp2_npn_test.c +++ b/tests/nghttp2_npn_test.c @@ -33,7 +33,7 @@ static void http2(void) { const unsigned char p[] = { 8, 'h', 't', 't', 'p', '/', '1', '.', '1', - 5, 'h', '2', '-', '1', '2', + 5, 'h', '2', '-', '1', '3', 6, 's', 'p', 'd', 'y', '/', '3' }; unsigned char outlen;