mirror of
https://github.com/nginx/nginx.git
synced 2025-01-07 17:27:48 +08:00
set request handlers, this fixes complex proxied 400 handler with SSI includes
This commit is contained in:
parent
ea1c7c7f16
commit
05a7656d2c
@ -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));
|
ngx_http_finalize_request(r, ngx_http_special_response_handler(r, rc));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user