comparison src/http/modules/ngx_http_rewrite_module.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 cba14c1e2a4b
comparison
equal deleted inserted replaced
241:c3cf292cce38 242:ff906029dd40
176 while (*(uintptr_t *) e->ip) { 176 while (*(uintptr_t *) e->ip) {
177 code = *(ngx_http_script_code_pt *) e->ip; 177 code = *(ngx_http_script_code_pt *) e->ip;
178 code(e); 178 code(e);
179 } 179 }
180 180
181 if (e->status == NGX_DECLINED) {
182 return NGX_DECLINED;
183 }
184
181 if (r->err_status == 0) { 185 if (r->err_status == 0) {
182 return e->status; 186 return e->status;
183 } 187 }
184 188
185 return r->err_status; 189 return r->err_status;