Mercurial > hg > nginx-ranges
comparison src/http/ngx_http_variables.c @ 242:ff906029dd40 NGINX_0_4_6
nginx 0.4.6
*) Bugfix: nginx did not run on 64-bit platforms except amd64, sparc64,
and ppc64.
*) Bugfix: nginx sent the chunked response for HTTP/1.1 request,
if its length was set by text string in the
$r->headers_out("Content-Length", ...) method.
*) Bugfix: after redirecting error by an "error_page" directive any
ngx_http_rewrite_module directive returned this error code; bug
appeared in 0.4.4.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 06 Oct 2006 00:00:00 +0400 |
parents | a528ae0fe909 |
children | 500a3242dff6 |
comparison
equal
deleted
inserted
replaced
241:c3cf292cce38 | 242:ff906029dd40 |
---|---|
638 if (var->data[n + prefix] != ch) { | 638 if (var->data[n + prefix] != ch) { |
639 break; | 639 break; |
640 } | 640 } |
641 } | 641 } |
642 | 642 |
643 if (n + prefix == var->len) { | 643 if (n + prefix == var->len && n == header[i].key.len) { |
644 v->len = header[i].value.len; | 644 v->len = header[i].value.len; |
645 v->valid = 1; | 645 v->valid = 1; |
646 v->no_cachable = 0; | 646 v->no_cachable = 0; |
647 v->not_found = 0; | 647 v->not_found = 0; |
648 v->data = header[i].value.data; | 648 v->data = header[i].value.data; |