mirror of
https://github.com/nginx/nginx.git
synced 2024-11-21 16:28:40 +00:00
revert processing NGX_OK in rewrite phase changed in r3798,
this broke "return 204" and "return code text"
This commit is contained in:
parent
c219a6f7d0
commit
bd4c8e88ee
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user