cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: stop curl, stop!

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 3 Apr 2014 00:02:04 +0200 (CEST)

On Wed, 2 Apr 2014, Derek Martin wrote:

> What I think is needed is:
>
> 3. stop the transfer only once all of the response has been read.
>
> The callbacks, with the current architecture, can't know when that has
> occured, as far as I can tell.

Using the progress callback you can, with a slight delay.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-04-03