changeset 8665:96eb6915d244 quic

HTTP/3: staticize ngx_http_v3_methods.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 16 Dec 2020 12:47:38 +0000
parents f61d347158d0
children ab6aaa8e86b0
files src/http/v3/ngx_http_v3_request.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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_pse
     ngx_str_t *name, ngx_str_t *value);
 
 
-struct {
+static const struct {
     ngx_str_t   name;
     ngx_uint_t  method;
 } ngx_http_v3_methods[] = {