1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Use an optional function as adviced by Rüdiger.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1887359 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Frederic Clere
2021-03-09 08:39:21 +00:00
parent 9cffa480fe
commit 6cbbf4f0b1
2 changed files with 12 additions and 2 deletions

View File

@@ -1336,6 +1336,16 @@ PROXY_DECLARE(int) ap_proxy_tunnel_run(proxy_tunnel_rec *tunnel);
APR_DECLARE_OPTIONAL_FN(int, ap_proxy_clear_connection,
(request_rec *r, apr_table_t *headers));
/**
* Configure and create workers (and balancer) in mod_balancer.
* @param r request
* @param params table with the parameters like b=mycluster etc.
* @return 404 when the worker/balancer doesn't exist,
* 400 if something is invalid
* 200 for success.
*/
APR_DECLARE_OPTIONAL_FN(apr_status_t, balancer_manage,
(request_rec *, apr_table_t *params));
/**
* @param socket socket to test