Re: How can i stop the data transfer while downloading file from a web server
Date: Thu, 1 Nov 2007 10:43:37 -0500
On Nov 1, 2007 10:13 AM, Bruce Peng <promagian_at_gmail.com> wrote:
> But sometimes, it stops receiving data before complete. It's waitting
> there, curl_easy_perform will not return. i am sure it's because no data
> is coming from server.
> So, i want to stop the data transfer, making the curl_easy_perform to
> return. I try to find an curl option like "response timeout", but failed.
Check the curl_easy_setopt documentation, you probably
want to use on or more of these options:
Received on 2007-11-01