summaryrefslogtreecommitdiff
path: root/src/node_http2.h
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2018-10-05 15:09:07 -0700
committerJames M Snell <jasnell@gmail.com>2018-10-08 08:41:35 -0700
commit0ad8c7319d6034fff0175bdf61ba8970db06a8ba (patch)
tree3e42a84182f295ed552870f184fbbf64f4018912 /src/node_http2.h
parent8290015d0a2f1a5d5947c31d6187b865fbe2ac9f (diff)
downloadandroid-node-v8-0ad8c7319d6034fff0175bdf61ba8970db06a8ba.tar.gz
android-node-v8-0ad8c7319d6034fff0175bdf61ba8970db06a8ba.tar.bz2
android-node-v8-0ad8c7319d6034fff0175bdf61ba8970db06a8ba.zip
http2: add RFC 8441 extended connect protocol support
PR-URL: https://github.com/nodejs/node/pull/23284 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'src/node_http2.h')
-rw-r--r--src/node_http2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_http2.h b/src/node_http2.h
index 2ab452bf02..8ecca63aeb 100644
--- a/src/node_http2.h
+++ b/src/node_http2.h
@@ -160,6 +160,7 @@ struct nghttp2_header : public MemoryRetainer {
V(AUTHORITY, ":authority") \
V(SCHEME, ":scheme") \
V(PATH, ":path") \
+ V(PROTOCOL, ":protocol") \
V(ACCEPT_CHARSET, "accept-charset") \
V(ACCEPT_ENCODING, "accept-encoding") \
V(ACCEPT_LANGUAGE, "accept-language") \