Implementation of remove for easy handlers.
| 61 | |
| 62 | // Implementation of remove for easy handlers. |
| 63 | void curl_multi::remove(const curl_easy &easy) { |
| 64 | const CURLMcode code = curl_multi_remove_handle(this->curl.get(),easy.get_curl()); |
| 65 | if (code == CURLM_OK) { |
| 66 | handles.erase(easy.get_curl()); |
| 67 | } else { |
| 68 | throw curl_multi_exception(code,__FUNCTION__); |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | // Implementation of get_next_finished method. |
| 73 | std::unique_ptr<curl_multi::curl_message> curl_multi::get_next_finished() { |
nothing calls this directly
no test coverage detected