mirror of
https://github.com/nginx/nginx.git
synced 2026-10-22 12:01:09 +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
1 changed files with 0 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue