]> git.kaiwu.me - nginx.git/commitdiff
set request handlers, this fixes complex proxied 400 handler with SSI includes
authorIgor Sysoev <igor@sysoev.ru>
Mon, 15 Sep 2008 16:44:37 +0000 (16:44 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 15 Sep 2008 16:44:37 +0000 (16:44 +0000)
src/http/ngx_http_request.c

index e163fd8ef053c8fb9ad912a724a900e60b7d8608..ae3bb03d5a6ca9242eeb810d3c442564f6a36f49 100644 (file)
@@ -1751,6 +1751,9 @@ ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc)
             }
         }
 
+        c->read->handler = ngx_http_request_handler;
+        c->write->handler = ngx_http_request_handler;
+
         ngx_http_finalize_request(r, ngx_http_special_response_handler(r, rc));
         return;
     }