| 435 | } |
| 436 | |
| 437 | static md_http_request_t *find_curl_request(apr_array_header_t *requests, CURL *curl) |
| 438 | { |
| 439 | md_http_request_t *req; |
| 440 | md_curl_internals_t *internals; |
| 441 | int i; |
| 442 | |
| 443 | for (i = 0; i < requests->nelts; ++i) { |
| 444 | req = APR_ARRAY_IDX(requests, i, md_http_request_t*); |
| 445 | internals = req->internals; |
| 446 | if (internals && internals->curl == curl) { |
| 447 | return req; |
| 448 | } |
| 449 | } |
| 450 | return NULL; |
| 451 | } |
| 452 | |
| 453 | static void add_to_curlm(md_http_request_t *req, CURLM *curlm) |
| 454 | { |
no outgoing calls
no test coverage detected