From 89bc31e15865383827cfb97ec62f0bd704304904 Mon Sep 17 00:00:00 2001 From: liuhan Date: Wed, 28 Sep 2016 10:18:15 +0800 Subject: [PATCH] components/nghttp: a few grammar fixes modify a few grammar, see nghttp.rst file. --- components/nghttp/nghttp.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/nghttp/nghttp.rst b/components/nghttp/nghttp.rst index 45297d16d9..77988a2a7f 100644 --- a/components/nghttp/nghttp.rst +++ b/components/nghttp/nghttp.rst @@ -7,7 +7,7 @@ The framing layer of HTTP/2 is implemented as a reusable C library. An HPACK encoder and decoder are available as a public API. -- The nghttp support many different processor, But for the most part function you only need the function as follows: +- The nghttp support many different processor, but for the most part you only need the following functions: *nghttp2_session_callbacks_new:* Initializes *callbacks_ptr with NULL values @@ -29,7 +29,7 @@ An HPACK encoder and decoder are available as a public API. *nghttp2_session_del:* Frees any resources allocated for session -If you are following TLS related RFC, you know that NPN is not the standardized way to negotiate HTTP/2. NPN itself is not event published as RFC. +If you are following TLS related RFC, you know that NPN is not the standardized way to negotiate HTTP/2. NPN itself is not even published as RFC. The standard way to negotiate HTTP/2 is ALPN, Application-Layer Protocol Negotiation Extension, defined in RFC 7301. @@ -39,6 +39,6 @@ The standard way to negotiate HTTP/2 is ALPN, Application-Layer Protocol Negotia This endpoint supports h2, h2-16, h2-14, spdy/3.1 and http/1.1 via ALPN/NPN and requires TLSv1.2 for HTTP/2 connection. -More information about nghttp library will show them on https://nghttp2.org +More information about nghttp library can be found at https://nghttp2.org An introductory article on protocol is available on RFC 7540 HTTP/2 and RFC 7541 HPACK - Header Compression for HTTP/2