mirror of
https://github.com/apache/httpd.git
synced 2025-08-10 02:56:11 +00:00
mod_proxy_http: Add detach_backend hook.
The immediate use is for a SSL-related module which works on the backend proxy connection to be able to "leak" information into the client r for logging. This could be useful with other proxy scheme handlers. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1586719 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -512,6 +512,15 @@ APR_DECLARE_EXTERNAL_HOOK(proxy, PROXY, int, canon_handler, (request_rec *r,
|
||||
APR_DECLARE_EXTERNAL_HOOK(proxy, PROXY, int, create_req, (request_rec *r, request_rec *pr))
|
||||
APR_DECLARE_EXTERNAL_HOOK(proxy, PROXY, int, fixups, (request_rec *r))
|
||||
|
||||
/**
|
||||
* Let modules perform processing when the connection to the origin is being
|
||||
* detached from the request.
|
||||
* @param r The client request
|
||||
* @param backend The proxy representation of the backend connection
|
||||
*/
|
||||
APR_DECLARE_EXTERNAL_HOOK(proxy, PROXY, int, detach_backend, (request_rec *r,
|
||||
proxy_conn_rec *backend))
|
||||
|
||||
/**
|
||||
* pre request hook.
|
||||
* It will return the most suitable worker at the moment
|
||||
|
Reference in New Issue
Block a user