Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-09-15 20:44:37 +0400
committerIgor Sysoev <igor@sysoev.ru>2008-09-15 20:44:37 +0400
commit05a7656d2c6fdeccc3631f51c4d8bc7d28a1e781 (patch)
tree754b28d480de8242cdfa007db7aa63c5495a214e
parentea1c7c7f16074ba58be1492cfc82625d0408a250 (diff)
set request handlers, this fixes complex proxied 400 handler with SSI includes
-rw-r--r--src/http/ngx_http_request.c3
1 files changed, 3 insertions, 0 deletions
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;
}