set request handlers, this fixes complex proxied 400 handler with SSI includes

This commit is contained in:
Igor Sysoev 2008-09-15 16:44:37 +00:00
parent ea1c7c7f16
commit 05a7656d2c

View 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;
}