mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
mod_proxy: Add proxy check_trans hook.
This allows proxy modules to decline request handling at early stage. Then mod_proxy_wstunnel can implement that hook to verify that an Upgrade is requested, and otherwise hand over to mod_proxy_http. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1869399 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -623,6 +623,8 @@ APR_DECLARE_EXTERNAL_HOOK(proxy, PROXY, int, scheme_handler,
|
||||
(request_rec *r, proxy_worker *worker,
|
||||
proxy_server_conf *conf, char *url,
|
||||
const char *proxyhost, apr_port_t proxyport))
|
||||
APR_DECLARE_EXTERNAL_HOOK(proxy, PROXY, int, check_trans,
|
||||
(request_rec *r, const char *url))
|
||||
APR_DECLARE_EXTERNAL_HOOK(proxy, PROXY, int, canon_handler,
|
||||
(request_rec *r, char *url))
|
||||
|
||||
|
Reference in New Issue
Block a user