From 05a7656d2c6fdeccc3631f51c4d8bc7d28a1e781 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 15 Sep 2008 16:44:37 +0000 Subject: [PATCH] set request handlers, this fixes complex proxied 400 handler with SSI includes --- src/http/ngx_http_request.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index e163fd8ef..ae3bb03d5 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -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; }