From e57b3a21390770440b23f0aee1a9f190b80bec4a Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 21 Nov 2013 21:58:45 +0900 Subject: [PATCH] Set protocol ID to draft-08 temporarily --- README.rst | 10 +++++----- lib/includes/nghttp2/nghttp2.h | 2 +- tests/nghttp2_npn_test.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.rst b/README.rst index 708a810a..e9f968d0 100644 --- a/README.rst +++ b/README.rst @@ -7,15 +7,15 @@ version 2.0. Development Status ------------------ -We started to implement HTTP-draft-07/2.0 -(http://tools.ietf.org/html/draft-ietf-httpbis-http2-07) and the +We started to implement HTTP-draft-08/2.0 +(http://tools.ietf.org/html/draft-ietf-httpbis-http2-08) and the header compression (http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-04). The nghttp2 code base was forked from spdylay project. ========================== ================= -Features HTTP-draft-07/2.0 +Features HTTP-draft-08/2.0 ========================== ================= :authority Done HPACK-draft-04 Done @@ -313,7 +313,7 @@ nghttpx - proxy +++++++++++++++ The ``nghttpx`` is a multi-threaded reverse proxy for -HTTP-draft-07/2.0, SPDY and HTTP/1.1. It has several operation modes: +HTTP-draft-08/2.0, SPDY and HTTP/1.1. It has several operation modes: ================== ============================== ============== ============= Mode option Frontend Backend Note @@ -326,7 +326,7 @@ default mode HTTP/2.0, SPDY, HTTP/1.1 (TLS) HTTP/1.1 Reverse proxy ================== ============================== ============== ============= The interesting mode at the moment is the default mode. It works like -a reverse proxy and listens HTTP-draft-07/2.0, SPDY and HTTP/1.1 and +a reverse proxy and listens HTTP-draft-08/2.0, SPDY and HTTP/1.1 and can be deployed SSL/TLS terminator for existing web server. The default mode, ``--http2-proxy`` and ``--http2-bridge`` modes use diff --git a/lib/includes/nghttp2/nghttp2.h b/lib/includes/nghttp2/nghttp2.h index 6bf4bc00..0f250dc0 100644 --- a/lib/includes/nghttp2/nghttp2.h +++ b/lib/includes/nghttp2/nghttp2.h @@ -40,7 +40,7 @@ extern "C" { * * The protocol version identification of this library supports. */ -#define NGHTTP2_PROTO_VERSION_ID "HTTP-draft-07/2.0" +#define NGHTTP2_PROTO_VERSION_ID "HTTP-draft-08/2.0" /** * @macro * diff --git a/tests/nghttp2_npn_test.c b/tests/nghttp2_npn_test.c index 72d3e3b3..d7d6f7b9 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', - 17, 'H', 'T', 'T', 'P', '-', 'd', 'r', 'a', 'f', 't', '-', '0', '7', '/', + 17, 'H', 'T', 'T', 'P', '-', 'd', 'r', 'a', 'f', 't', '-', '0', '8', '/', '2', '.', '0', 6, 's', 'p', 'd', 'y', '/', '3' };