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

Function si_val_stapling

modules/md/mod_md_status.c:610–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

608}
609
610static void si_val_stapling(status_ctx *ctx, md_json_t *mdj, const status_info *info)
611{
612 (void)info;
613 if (!md_json_getb(mdj, MD_KEY_STAPLING, NULL)) return;
614 if (HTML_STATUS(ctx)) {
615 apr_brigade_puts(ctx->bb, NULL, NULL, "on");
616 }
617 else {
618 apr_brigade_printf(ctx->bb, NULL, NULL, "%sStapling: on\n", ctx->prefix);
619 }
620}
621
622static int json_iter_val(void *data, size_t index, md_json_t *json)
623{

Callers

nothing calls this directly

Calls 1

md_json_getbFunction · 0.85

Tested by

no test coverage detected