Implementation of perform method.
| 85 | |
| 86 | // Implementation of perform method. |
| 87 | bool curl_multi::perform() { |
| 88 | const CURLMcode code = curl_multi_perform(this->curl.get(),&this->active_transfers); |
| 89 | if (code == CURLM_CALL_MULTI_PERFORM) { |
| 90 | return false; |
| 91 | } |
| 92 | if (code != CURLM_OK) { |
| 93 | throw curl_multi_exception(code,__FUNCTION__); |
| 94 | } |
| 95 | return true; |
| 96 | } |
| 97 | |
| 98 | // Implementation of socket_action method. |
| 99 | bool curl_multi::socket_action(const curl_socket_t sockfd, const int ev_bitmask) { |
nothing calls this directly
no test coverage detected