cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Pausing downloads with multi interface

From: Andrew Penner <ampenner_at_gmail.com>
Date: Mon, 19 Mar 2007 18:05:09 -0500

On 3/19/07, Andrew Penner <ampenner_at_gmail.com> wrote:

Sorry, just a little clarification from my original question:

> The problem is that I cannot guarantee that my
> data sink will be able accommodate writing at the rate that write
> callbacks occur.

I want to keep with the multi interface, so the write callback cannot
block, obviously. And curl_multi_perform still needs to be called soon
to keep other transfers running smoothly.

> All I did was add a 'pause' flag to the SessionState structure.

I mean UrlState structure.
Received on 2007-03-20