c-sdk icon indicating copy to clipboard operation
c-sdk copied to clipboard

能否在http 表单上传中对 Qiniu_callex 加入进度回调

Open PeterMStudio opened this issue 3 years ago • 0 comments

#if LIBCURL_VERSION_NUM >= 0x072000 curl_easy_setopt(curl, CURLOPT_XFERINFOFUNCTION, xferinfo); curl_easy_setopt(curl, CURLOPT_XFERINFODATA, &prog); #else curl_easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, older_progress); curl_easy_setopt(curl, CURLOPT_PROGRESSDATA, &prog); #endif

PeterMStudio avatar Sep 29 '21 03:09 PeterMStudio