Skip to content

Commit

Permalink
Fix build against Nginx 1.22 (fix #85).
Browse files Browse the repository at this point in the history
  • Loading branch information
p-pautov committed Jan 22, 2025
1 parent f578402 commit 72d8eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http_module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,10 @@ ngx_int_t setHeader(ngx_http_request_t* r, StrView name, StrView value)
return NGX_ERROR;
}

*header = {};
header->hash = hash;
header->key = toNgxStr(name);
header->lowcase_key = header->key.data;
header->next = NULL;
}

header->value = toNgxStr(value);
Expand Down

0 comments on commit 72d8eed

Please sign in to comment.