diff options
author | Sergey Kandaurov <pluknet@nginx.com> | 2020-12-16 12:47:38 +0000 |
---|---|---|
committer | Sergey Kandaurov <pluknet@nginx.com> | 2020-12-16 12:47:38 +0000 |
commit | c3714a8089f50e15966db73c227c4eea6d9f8e77 (patch) | |
tree | 2adbffb921617cc6506ee612d97ed7b3e714a369 /src/http/v3/ngx_http_v3_request.c | |
parent | 1a3bf7d59399d15adde8b22a578f40758764d262 (diff) | |
download | nginx-c3714a8089f50e15966db73c227c4eea6d9f8e77.tar.gz nginx-c3714a8089f50e15966db73c227c4eea6d9f8e77.zip |
HTTP/3: staticize ngx_http_v3_methods.
Diffstat (limited to 'src/http/v3/ngx_http_v3_request.c')
-rw-r--r-- | src/http/v3/ngx_http_v3_request.c | 2 |
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[] = { |