After the download start a few seconds, I called curl_easy_pause in the progress function like this:
curl_easy_pause(curl, CURLPAUSE_RECV); I think the curl_easy_perform will never return until I call curl_easy_pause again to unpause the download. But curl_easy_perform returned after I paused the download for about 20 seconds. Why? I use lib_curl 7.18.0 on vista.