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

Function md_cover_server

modules/md/mod_md.c:399–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397}
398
399static apr_status_t md_cover_server(md_t *md, server_rec *s, int *pupdates, apr_pool_t *p)
400{
401 apr_status_t rv;
402 const char *name;
403 int i;
404
405 if (APR_SUCCESS == (rv = check_coverage(md, s->server_hostname, s, pupdates, p))) {
406 ap_log_error(APLOG_MARK, APLOG_TRACE1, 0, s,
407 "md[%s]: auto add, covers name %s", md->name, s->server_hostname);
408 for (i = 0; s->names && i < s->names->nelts; ++i) {
409 name = APR_ARRAY_IDX(s->names, i, const char*);
410 if (APR_SUCCESS != (rv = check_coverage(md, name, s, pupdates, p))) {
411 break;
412 }
413 ap_log_error(APLOG_MARK, APLOG_TRACE1, 0, s,
414 "md[%s]: auto add, covers alias %s", md->name, name);
415 }
416 }
417 return rv;
418}
419
420static int uses_port(server_rec *s, int port)
421{

Callers 1

auto_add_domainsFunction · 0.85

Calls 2

check_coverageFunction · 0.85
ap_log_errorFunction · 0.50

Tested by

no test coverage detected