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

Function md_acme_GET

modules/md/md_acme.c:458–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456}
457
458apr_status_t md_acme_GET(md_acme_t *acme, const char *url,
459 md_acme_req_init_cb *on_init,
460 md_acme_req_json_cb *on_json,
461 md_acme_req_res_cb *on_res,
462 md_acme_req_err_cb *on_err,
463 int get_as_post,
464 void *baton)
465{
466 md_acme_req_t *req;
467
468 assert(url);
469 assert(on_json || on_res);
470
471 md_log_perror(MD_LOG_MARK, MD_LOG_TRACE1, 0, acme->p, "add acme GET: %s", url);
472 req = md_acme_req_create(acme, "GET", url);
473 req->on_init = on_init;
474 req->on_json = on_json;
475 req->on_res = on_res;
476 req->on_err = on_err;
477 req->baton = baton;
478
479 return md_acme_req_send(req, get_as_post);
480}
481
482void md_acme_report_result(md_acme_t *acme, apr_status_t rv, struct md_result_t *result)
483{

Callers 4

md_acme_order_updateFunction · 0.85
get_certFunction · 0.85
get_chainFunction · 0.85
md_acme_get_jsonFunction · 0.85

Calls 3

md_log_perrorFunction · 0.85
md_acme_req_createFunction · 0.85
md_acme_req_sendFunction · 0.85

Tested by

no test coverage detected