mirror of
https://github.com/nginx/nginx.git
synced 2024-12-12 02:09:04 +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));
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user