| 638 | } |
| 639 | |
| 640 | static 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 | |
| 652 | static md_http_impl_t impl = { |
| 653 | md_curl_init, |
nothing calls this directly
no test coverage detected