How can I cancel the curl_easy_perform() function after a connection loss (Network cable drawn)?
I'm using the the function to download files from a server via http request under Mac OS X. After the connection gets lost the application hangs in curl_perform. I've tried to solve the problem by using the CURLOPT_TIMEOUT option. But this cancels long lasting downloads, too.
Has anyone a clue?