From: Caolán McNamara Date: Tue, 22 Jul 2025 13:48:26 +0000 (+0100) Subject: http: const up readonly H2_NON_FIELD X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fb0b4c87107b07acf947e8dad9ee8f72f6f26b8c;p=thirdparty%2Fcurl.git http: const up readonly H2_NON_FIELD Closes #17996 --- diff --git a/lib/http.c b/lib/http.c index e5a0696274..9a844301fb 100644 --- a/lib/http.c +++ b/lib/http.c @@ -4569,7 +4569,7 @@ struct name_const { }; /* keep them sorted by length! */ -static struct name_const H2_NON_FIELD[] = { +static const struct name_const H2_NON_FIELD[] = { { STRCONST("Host") }, { STRCONST("Upgrade") }, { STRCONST("Connection") },