cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH] pausing a transfer, take one

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 17 Dec 2007 13:02:56 +0100 (CET)

Hi friends,

I've written up a lil' patch that introduces support for pausing libcurl
transfers. The pausing can be done with curl_easy_pause() or by returning the
magic return code from the read or write callbacks. See details in the
curl_easy_pause.3 man page which is incluced in the patch.

Unpausing a transfer is done using curl_easy_pause().

I'm interested in comments on both the API/concept but also on how it actually
works, as I've only tested it slightly but it seems to work fine for me.

Also, if/when we include this in the code, I think it warrants a minor version
number bump.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html

Received on 2007-12-17