cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: curl_easy_perform

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sun, 18 Jul 2004 09:30:40 +0200 (CEST)

On Sat, 17 Jul 2004, Karl wrote:

> When using threads and libcurl, if one thread is running curl_easy_perform
> and for whatever reason that takes some time (say host not responding), can
> another thread terminate that attempt

No. But a thread can signal the other thread and then you can make your
callback(s) return to abort the transfer. It will at least make the transfer
stop as soon as possible.

> , or do we have to wait for the perform to fail.

Return the proper code from your callback and it'll stop.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-07-18

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET