cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Canceling transfers with multi interface

From: Andrew Penner <ampenner_at_gmail.com>
Date: Sat, 17 Mar 2007 18:58:56 -0500

On Fri, 16 Mar 2007, Andrew Penner wrote:
> My question is: how do I cancel transfers while they are in progress?

It turns out the answer should have been "use the latest version, stupid."

I was accidentally linking against an older libcurl (7.15.5) in my
distro instead of the one I downloaded (7.16.1). In 7.15.5, the number
of active transfers reported by multi_perform did not decrement when
an easy handle was removed using multi_remove_handle. This is what
made me think something was wrong.

Anyways, with the current library, it works exactly as the
documentation describes...nice.

-Andrew
Received on 2007-03-18