MCPcopy Create free account
hub / github.com/apache/httpd / ap_proxy_ssl_enable

Function ap_proxy_ssl_enable

modules/proxy/mod_proxy.c:3051–3061  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3049static APR_OPTIONAL_FN_TYPE(ssl_engine_set) *proxy_ssl_engine = NULL;
3050
3051PROXY_DECLARE(int) ap_proxy_ssl_enable(conn_rec *c)
3052{
3053 /*
3054 * if c == NULL just check if the optional function was imported
3055 * else run the optional function so ssl filters are inserted
3056 */
3057 if (c == NULL) {
3058 return ap_ssl_has_outgoing_handlers();
3059 }
3060 return ap_ssl_bind_outgoing(c, NULL, 1) == OK;
3061}
3062
3063PROXY_DECLARE(int) ap_proxy_ssl_disable(conn_rec *c)
3064{

Callers 1

mod_proxy.hFile · 0.85

Calls 2

ap_ssl_bind_outgoingFunction · 0.85

Tested by

no test coverage detected