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

Function run_renew

modules/md/md_reg.c:1173–1200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1171}
1172
1173static apr_status_t run_renew(void *baton, apr_pool_t *p, apr_pool_t *ptemp, va_list ap)
1174{
1175 md_reg_t *reg = baton;
1176 const md_t *md;
1177 int reset, attempt;
1178 md_proto_driver_t *driver;
1179 apr_table_t *env;
1180 apr_status_t rv;
1181 md_result_t *result;
1182
1183 (void)p;
1184 md = va_arg(ap, const md_t *);
1185 env = va_arg(ap, apr_table_t *);
1186 reset = va_arg(ap, int);
1187 attempt = va_arg(ap, int);
1188 result = va_arg(ap, md_result_t *);
1189
1190 rv = run_init(reg, ptemp, &driver, md, 0, env, result, NULL);
1191 if (APR_SUCCESS == rv) {
1192 md_log_perror(MD_LOG_MARK, MD_LOG_DEBUG, 0, ptemp, "%s: run staging", md->name);
1193 driver->reset = reset;
1194 driver->attempt = attempt;
1195 driver->retry_failover = reg->retry_failover;
1196 rv = driver->proto->renew(driver, result);
1197 }
1198 md_log_perror(MD_LOG_MARK, MD_LOG_DEBUG, rv, ptemp, "%s: staging done", md->name);
1199 return rv;
1200}
1201
1202apr_status_t md_reg_renew(md_reg_t *reg, const md_t *md, apr_table_t *env,
1203 int reset, int attempt,

Callers

nothing calls this directly

Calls 2

run_initFunction · 0.85
md_log_perrorFunction · 0.85

Tested by

no test coverage detected