Mercurial > hg > nginx
changeset 742:75d767d32624
nonexistent $sent_http_content has value of $sent_http_content_length or so
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 05 Oct 2006 15:09:26 +0000 |
parents | 63a08390a8a2 |
children | 543434c675e9 |
files | src/http/ngx_http_variables.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_variables.c Thu Oct 05 15:05:47 2006 +0000 +++ b/src/http/ngx_http_variables.c Thu Oct 05 15:09:26 2006 +0000 @@ -640,7 +640,7 @@ } } - 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;