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

Function socache_dc_status

modules/cache/mod_socache_dc.c:151–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151static void socache_dc_status(ap_socache_instance_t *ctx, request_rec *r, int flags)
152{
153 ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(00747)
154 "distributed scache 'socache_dc_status'");
155 if (!(flags & AP_STATUS_SHORT)) {
156 ap_rprintf(r, "cache type: <b>DC (Distributed Cache)</b>, "
157 " target: <b>%s</b><br>", ctx->target);
158 }
159 else {
160 ap_rputs("CacheType: DC\n", r);
161 ap_rvputs(r, "CacheTarget: ", ctx->target, "\n", NULL);
162 }
163}
164
165static apr_status_t socache_dc_iterate(ap_socache_instance_t *instance,
166 server_rec *s, void *userctx,

Callers

nothing calls this directly

Calls 3

ap_rprintfFunction · 0.85
ap_rputsFunction · 0.85
ap_rvputsFunction · 0.85

Tested by

no test coverage detected