changeset 3805:7f491d3f3b57

revert processing NGX_OK in rewrite phase changed in r3798, this broke "return 204" and "return code text"
author Igor Sysoev <igor@sysoev.ru>
date Mon, 29 Nov 2010 19:40:54 +0000
parents 25ced81f4005
children 01542054f2c3
files src/http/ngx_http_core_module.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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_req
 
     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;