the cURL / OS version in question is 7.15 and Red Hat 5, they are installed on the stone, although they cannot change them.
The actual execution function, which is not called at all
int CurlUtil::progressCallback(void *clientp, double dltotal, double dlnow, double ultotal, double ulnow) { DEFN_METHOD_NAME( "progressCallback" ); EX_ENTRY_EXIT(); EX_DEBUG("Total downloaded " << dlnow << "/" << dltotal); EX_DEBUG("Total uploaded " << ulnow << "/" << ultotal); CurlUtil* curlUtil = (CurlUtil*)clientp;
Installation Code:
curl_easy_setopt(m_curl, CURLOPT_NOPROGRESS, 0); curl_easy_setopt(m_curl, CURLOPT_PROGRESSFUNCTION, CurlUtil::progressCallback); curl_easy_setopt(m_curl, CURLOPT_PROGRESSDATA, this)
Where CurlUtil is the class in which the code exists. CURLOPT_DEBUGFUNCTION works fine and is configured with exactly the same function.
source share