summaryrefslogtreecommitdiff
path: root/deps/nghttp2/lib/nghttp2_helper.c
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2018-10-05 13:09:10 -0700
committerJames M Snell <jasnell@gmail.com>2018-10-08 08:41:18 -0700
commit8290015d0a2f1a5d5947c31d6187b865fbe2ac9f (patch)
tree02246a8c6cd2377f3fff259eec50f22b4b5a0feb /deps/nghttp2/lib/nghttp2_helper.c
parent314c1fa5839559f29507e93a3b14fa4b4d380460 (diff)
downloadandroid-node-v8-8290015d0a2f1a5d5947c31d6187b865fbe2ac9f.tar.gz
android-node-v8-8290015d0a2f1a5d5947c31d6187b865fbe2ac9f.tar.bz2
android-node-v8-8290015d0a2f1a5d5947c31d6187b865fbe2ac9f.zip
deps: update nghttp2 to 1.34.0
Key new feature: RFC 8441 `: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 'deps/nghttp2/lib/nghttp2_helper.c')
-rw-r--r--deps/nghttp2/lib/nghttp2_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/nghttp2/lib/nghttp2_helper.c b/deps/nghttp2/lib/nghttp2_helper.c
index 3b282c7301..81a8a0cf99 100644
--- a/deps/nghttp2/lib/nghttp2_helper.c
+++ b/deps/nghttp2/lib/nghttp2_helper.c
@@ -340,7 +340,7 @@ const char *nghttp2_strerror(int error_code) {
}
/* Generated by gennmchartbl.py */
-static int VALID_HD_NAME_CHARS[] = {
+static const int VALID_HD_NAME_CHARS[] = {
0 /* NUL */, 0 /* SOH */, 0 /* STX */, 0 /* ETX */,
0 /* EOT */, 0 /* ENQ */, 0 /* ACK */, 0 /* BEL */,
0 /* BS */, 0 /* HT */, 0 /* LF */, 0 /* VT */,
@@ -428,7 +428,7 @@ int nghttp2_check_header_name(const uint8_t *name, size_t len) {
}
/* Generated by genvchartbl.py */
-static int VALID_HD_VALUE_CHARS[] = {
+static const int VALID_HD_VALUE_CHARS[] = {
0 /* NUL */, 0 /* SOH */, 0 /* STX */, 0 /* ETX */,
0 /* EOT */, 0 /* ENQ */, 0 /* ACK */, 0 /* BEL */,
0 /* BS */, 1 /* HT */, 0 /* LF */, 0 /* VT */,