[nginx] HTTP/2: fixed incorrect name slipped in 9213:23f109f0facc.

Maxim Dounin mdounin at mdounin.ru
Tue Feb 20 16:32:33 UTC 2024


details:   http://freenginx.org/hg/nginx/rev/de4208483315
branches:  
changeset: 9218:de4208483315
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Tue Feb 20 19:28:26 2024 +0300
description:
HTTP/2: fixed incorrect name slipped in 9213:23f109f0facc.

diffstat:

 src/http/v2/ngx_http_v2_filter_module.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/src/http/v2/ngx_http_v2_filter_module.c b/src/http/v2/ngx_http_v2_filter_module.c
--- a/src/http/v2/ngx_http_v2_filter_module.c
+++ b/src/http/v2/ngx_http_v2_filter_module.c
@@ -121,7 +121,7 @@ ngx_http_v2_header_filter(ngx_http_reque
 #endif
 
     static size_t nginx_name_len = ngx_http_v2_literal_size(NGINX_NAME);
-    static u_char nginx_name[ngx_http_v2_literal_size(NGINX_VER)];
+    static u_char nginx_name[ngx_http_v2_literal_size(NGINX_NAME)];
 
     static size_t nginx_ver_len = ngx_http_v2_literal_size(NGINX_VER);
     static u_char nginx_ver[ngx_http_v2_literal_size(NGINX_VER)];



More information about the nginx-devel mailing list