aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2020-12-16 12:47:38 +0000
committerSergey Kandaurov <pluknet@nginx.com>2020-12-16 12:47:38 +0000
commitc3714a8089f50e15966db73c227c4eea6d9f8e77 (patch)
tree2adbffb921617cc6506ee612d97ed7b3e714a369 /src
parent1a3bf7d59399d15adde8b22a578f40758764d262 (diff)
downloadnginx-c3714a8089f50e15966db73c227c4eea6d9f8e77.tar.gz
nginx-c3714a8089f50e15966db73c227c4eea6d9f8e77.zip
HTTP/3: staticize ngx_http_v3_methods.
Diffstat (limited to 'src')
-rw-r--r--src/http/v3/ngx_http_v3_request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/v3/ngx_http_v3_request.c b/src/http/v3/ngx_http_v3_request.c
index 2b50133f1..4597bc180 100644
--- a/src/http/v3/ngx_http_v3_request.c
+++ b/src/http/v3/ngx_http_v3_request.c
@@ -14,7 +14,7 @@ static ngx_int_t ngx_http_v3_process_pseudo_header(ngx_http_request_t *r,
ngx_str_t *name, ngx_str_t *value);
-struct {
+static const struct {
ngx_str_t name;
ngx_uint_t method;
} ngx_http_v3_methods[] = {