void StopCurlWatchers(AsyncIO *IO)
{
+ EVM_syslog(LOG_DEBUG, "EVENT StopCurlWatchers \n");
+
ev_timer_stop (event_base, &IO->rw_timeout);
ev_timer_stop(event_base, &IO->conn_fail);
ev_idle_stop(event_base, &IO->unwind_stack);
ev_io_stop(event_base, &IO->send_event);
ev_io_stop(event_base, &IO->recv_event);
+ curl_easy_cleanup(IO->HttpReq.chnd);
+ IO->HttpReq.chnd = NULL;
+
if (IO->SendBuf.fd != 0) {
close(IO->SendBuf.fd);
}