revert processing NGX_OK in rewrite phase changed in r3798,
this broke "return 204" and "return code text"
This commit is contained in:
parent
2f68562516
commit
4995ee42dd
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…
Reference in a new issue