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

Function md_curl_cleanup

modules/md/md_curl.c:640–650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

638}
639
640static void md_curl_cleanup(md_http_t *http, apr_pool_t *pool)
641{
642 CURL *curl;
643
644 curl = md_http_get_impl_data(http);
645 if (curl) {
646 md_log_perror(MD_LOG_MARK, MD_LOG_TRACE3, 0, pool, "cleanup curl instance");
647 md_http_set_impl_data(http, NULL);
648 curl_easy_cleanup(curl);
649 }
650}
651
652static md_http_impl_t impl = {
653 md_curl_init,

Callers

nothing calls this directly

Calls 3

md_http_get_impl_dataFunction · 0.85
md_log_perrorFunction · 0.85
md_http_set_impl_dataFunction · 0.85

Tested by

no test coverage detected