Mercurial > hg > nginx
comparison src/http/ngx_http_script.c @ 653:7cbef16c71a1 release-0.3.48
nginx-0.3.48-RELEASE import
*) Change: now the ngx_http_charset_module works for subrequests, if
the response has no "Content-Type" header line.
*) Bugfix: if the "proxy_pass" directive has no URI part, then the
"proxy_redirect default" directive add the unnecessary slash in
start of the rewritten redirect.
*) Bugfix: the internal redirect always transform client's HTTP method
to GET, now the transformation is made for the "X-Accel-Redirect"
redirects only and if the method is not HEAD; the bug had appeared
in 0.3.42.
*) Bugfix: the ngx_http_perl_module could not be built, if the perl was
built with the threads support; the bug had appeared in 0.3.46.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 29 May 2006 17:28:12 +0000 |
parents | 5e8fb59c18c1 |
children | 4c8cd5ae5cc1 |
comparison
equal
deleted
inserted
replaced
652:d01fc553611d | 653:7cbef16c71a1 |
---|---|
831 | 831 |
832 code = (ngx_http_script_return_code_t *) e->ip; | 832 code = (ngx_http_script_return_code_t *) e->ip; |
833 | 833 |
834 e->status = code->status; | 834 e->status = code->status; |
835 | 835 |
836 if (code->status == NGX_HTTP_NO_CONTENT) { | |
837 e->request->header_only = 1; | |
838 } | |
839 | |
836 e->ip += sizeof(ngx_http_script_return_code_t) - sizeof(uintptr_t); | 840 e->ip += sizeof(ngx_http_script_return_code_t) - sizeof(uintptr_t); |
837 } | 841 } |
838 | 842 |
839 | 843 |
840 void | 844 void |