revert processing NGX_OK in rewrite phase changed in r3798,

this broke "return 204" and "return code text"
This commit is contained in:
Igor Sysoev 2010-11-29 19:40:54 +00:00
parent c219a6f7d0
commit bd4c8e88ee

View File

@ -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;