Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eilandert committed Jun 26, 2024
1 parent 4a9b193 commit 7bbe9d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http/v2/ngx_http_v2_filter_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ ngx_http_v2_header_filter(ngx_http_request_t *r)
*pos++ = ngx_http_v2_inc_indexed(NGX_HTTP_V2_SERVER_INDEX);

if (clcf->server_tokens == NGX_HTTP_SERVER_TOKENS_ON) {
if (nginx_ver[0] == '\0') {
if (angie_ver[0] == '\0') {
p = ngx_http_v2_write_value(angie_ver, (u_char *) ANGIE_VER,
sizeof(ANGIE_VER) - 1, tmp);
angie_ver_len = p - angie_ver;
Expand Down

0 comments on commit 7bbe9d0

Please sign in to comment.