Mercurial > hg > nginx
comparison src/http/modules/ngx_http_rewrite_module.c @ 739:9f983de19a1d
after redirecting by error_page any rewrite directive will return this code,
bug introduced in r727
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 03 Oct 2006 18:06:44 +0000 |
parents | 7b71936d5299 |
children | 5e1a8fe79c4b |
comparison
equal
deleted
inserted
replaced
738:5d4111daf388 | 739:9f983de19a1d |
---|---|
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; |