cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Stoping/Aborting curl_easy_perform

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 10 Dec 2004 11:00:44 +0100 (CET)

On Fri, 10 Dec 2004, Hardeep Nagi wrote:

> But a lil confusion, this will come into effect only after the very first
> chunk of the transfer is returned. what if i want to abort the transfer when
> its just trying to connect and the request is just reaching the other
> end...that means between duration : after issuing curl_easy_perform and
> before receiving the first callback chunk for that request ?

Consider using the progress callback for this as well.

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