Set HTTP/2 protocol id to h2-13 for now
This commit is contained in:
parent
d4602a0991
commit
317b8baa4f
|
@ -41,7 +41,7 @@ extern "C" {
|
||||||
* The protocol version identification string of this library
|
* The protocol version identification string of this library
|
||||||
* supports. This identifier is used if HTTP/2 is used over TLS.
|
* 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
|
* @macro
|
||||||
*
|
*
|
||||||
|
@ -56,7 +56,7 @@ extern "C" {
|
||||||
* supports. This identifier is used if HTTP/2 is used over cleartext
|
* supports. This identifier is used if HTTP/2 is used over cleartext
|
||||||
* TCP.
|
* TCP.
|
||||||
*/
|
*/
|
||||||
#define NGHTTP2_CLEARTEXT_PROTO_VERSION_ID "h2c-12"
|
#define NGHTTP2_CLEARTEXT_PROTO_VERSION_ID "h2c-13"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @macro
|
* @macro
|
||||||
|
|
|
@ -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',
|
||||||
5, 'h', '2', '-', '1', '2',
|
5, 'h', '2', '-', '1', '3',
|
||||||
6, 's', 'p', 'd', 'y', '/', '3'
|
6, 's', 'p', 'd', 'y', '/', '3'
|
||||||
};
|
};
|
||||||
unsigned char outlen;
|
unsigned char outlen;
|
||||||
|
|
Loading…
Reference in New Issue