Set protocol ID to draft-08 temporarily

This commit is contained in:
Tatsuhiro Tsujikawa 2013-11-21 21:58:45 +09:00
parent bbebc4ad8d
commit e57b3a2139
3 changed files with 7 additions and 7 deletions

View File

@ -7,15 +7,15 @@ version 2.0.
Development Status Development Status
------------------ ------------------
We started to implement HTTP-draft-07/2.0 We started to implement HTTP-draft-08/2.0
(http://tools.ietf.org/html/draft-ietf-httpbis-http2-07) and the (http://tools.ietf.org/html/draft-ietf-httpbis-http2-08) and the
header compression header compression
(http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-04). (http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-04).
The nghttp2 code base was forked from spdylay project. The nghttp2 code base was forked from spdylay project.
========================== ================= ========================== =================
Features HTTP-draft-07/2.0 Features HTTP-draft-08/2.0
========================== ================= ========================== =================
:authority Done :authority Done
HPACK-draft-04 Done HPACK-draft-04 Done
@ -313,7 +313,7 @@ nghttpx - proxy
+++++++++++++++ +++++++++++++++
The ``nghttpx`` is a multi-threaded reverse proxy for 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 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 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. can be deployed SSL/TLS terminator for existing web server.
The default mode, ``--http2-proxy`` and ``--http2-bridge`` modes use The default mode, ``--http2-proxy`` and ``--http2-bridge`` modes use

View File

@ -40,7 +40,7 @@ extern "C" {
* *
* The protocol version identification of this library supports. * 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 * @macro
* *

View File

@ -33,7 +33,7 @@ static void http2(void)
{ {
const unsigned char p[] = { const unsigned char p[] = {
8, 'h', 't', 't', 'p', '/', '1', '.', '1', 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', '2', '.', '0',
6, 's', 'p', 'd', 'y', '/', '3' 6, 's', 'p', 'd', 'y', '/', '3'
}; };