mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
revert processing NGX_OK in rewrite phase changed in r3798,
this broke "return 204" and "return code text"
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user