cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Aborting curl_easy_perform

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 30 Jun 2003 11:06:44 +0200 (CEST)

On Sat, 28 Jun 2003, Keletsekis wrote:

> Anyway, I need to be able to abort curl_easy_perform() at any time (when
> quiting, or if the user wants it, etc).
>
> How do I do that ?

You can only do that by returning the proper return code from one of the
callbacks that it might call. There's no particular function provided by
libcurl that aborts a curl_easy_perform(). (Basicly because I have not
found/implemented a way that works somewhat portable.)

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
Received on 2003-06-30