# HG changeset patch # User Sergey Kandaurov # Date 1608122858 0 # Node ID 96eb6915d244d28c42194d6dcc6bc4b64afe67f8 # Parent f61d347158d0f17e29e1b304b523faf2803ca9cd HTTP/3: staticize ngx_http_v3_methods. diff --git a/src/http/v3/ngx_http_v3_request.c b/src/http/v3/ngx_http_v3_request.c --- 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[] = {