Fix build against Nginx 1.22 (fix #85).
Some checks failed
Ubuntu build / build-module (push) Has been cancelled
Some checks failed
Ubuntu build / build-module (push) Has been cancelled
This commit is contained in:
parent
f578402f19
commit
72d8eed53a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue