mirror of
https://github.com/nginx/nginx.git
synced 2024-12-01 21:19:12 -06:00
nonexistent $sent_http_content has value of $sent_http_content_length or so
This commit is contained in:
parent
daec217def
commit
4ee7077b51
@ -640,7 +640,7 @@ ngx_http_variable_unknown_header(ngx_http_variable_value_t *v, ngx_str_t *var,
|
||||
}
|
||||
}
|
||||
|
||||
if (n + prefix == var->len) {
|
||||
if (n + prefix == var->len && n == header[i].key.len) {
|
||||
v->len = header[i].value.len;
|
||||
v->valid = 1;
|
||||
v->no_cachable = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user