| 149 | } |
| 150 | |
| 151 | static 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 | |
| 165 | static apr_status_t socache_dc_iterate(ap_socache_instance_t *instance, |
| 166 | server_rec *s, void *userctx, |
nothing calls this directly
no test coverage detected