cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: help:how to clean a curl download?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 18 Jan 2010 11:51:56 +0100 (CET)

On Mon, 18 Jan 2010, Basil Su wrote:

> now i just use:
> if( "get a command to stop")
> {
> curl_multi_remove_handle(multi_handle,_curl);
> curl_easy_cleanup(_curl);
> }
> curl_multi_perform(multi_handle, running_handles));
>
> it it a right way to stop?

Yes.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-01-18