From: Igor Sysoev Date: Mon, 29 Nov 2010 19:40:54 +0000 (+0000) Subject: revert processing NGX_OK in rewrite phase changed in r3798, X-Git-Tag: release-0.9.1~3 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=bd4c8e88ee0457fe4a7f0481d7e0ac0b66358def;p=nginx.git revert processing NGX_OK in rewrite phase changed in r3798, this broke "return 204" and "return code text" --- 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;