cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: canceling a load in progress

From: Steve Dekorte <steve_at_dekorte.com>
Date: Mon, 22 Oct 2001 13:02:08 -0700

Daniel Stenberg wrote:
> Yeps, and this method can already more or less be applied, as you can
> set a
> progress meter callback that can abort the download. It could be
> triggered
> this way.
>
> It would make a one second delay (at most) to cancel a transfer in
> progress.

The progress meter function doesn't work for me. Does it only work when
you're downloading to a file instead of into memory? (I got around this
problem by adding an extra variable to the memory struct and doing my
progress stuff in the write memory callback)

Steve
Received on 2001-10-22