From bd4c8e88ee0457fe4a7f0481d7e0ac0b66358def Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 29 Nov 2010 19:40:54 +0000 Subject: revert processing NGX_OK in rewrite phase changed in r3798, this broke "return 204" and "return code text" --- src/http/ngx_http_core_module.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 0e8d5a497..8f341d6e7 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -900,11 +900,6 @@ ngx_http_core_rewrite_phase(ngx_http_request_t *r, ngx_http_phase_handler_t *ph) rc = ph->handler(r); - if (rc == NGX_OK) { - r->phase_handler = ph->next; - return NGX_AGAIN; - } - if (rc == NGX_DECLINED) { r->phase_handler++; return NGX_AGAIN; -- cgit