cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: programmatically interrupting a curl_easy_perform() transfer

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Thu, 30 Sep 2010 16:07:27 -0500

On Thu, Sep 30, 2010 at 3:54 PM, John Utz wrote:

> is there some way to signal curl_easy_perform() to tell it that i would like
> it to stop now?

Any of the callbacks (read/write/header/progress/debug/...)
can be used to abort the transfer, depending on the value
returned by the callback.

 - Jeff
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-09-30