summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-11-29 19:40:54 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-11-29 19:40:54 +0000
commitbd4c8e88ee0457fe4a7f0481d7e0ac0b66358def (patch)
tree77a69be14103013ea9f74bacf893884b52abb496 /src
parentc219a6f7d0313becc8925a81521a7e210b933cb3 (diff)
downloadnginx-bd4c8e88ee0457fe4a7f0481d7e0ac0b66358def.tar.gz
nginx-bd4c8e88ee0457fe4a7f0481d7e0ac0b66358def.tar.bz2
revert processing NGX_OK in rewrite phase changed in r3798,
this broke "return 204" and "return code text"
Diffstat (limited to 'src')
-rw-r--r--src/http/ngx_http_core_module.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 0e8d5a497..8f341d6e7 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -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;