cURL / Mailing Lists / curl-library / Single Mail


Re[2]: [PATCH] pausing a transfer, take one

From: Daniel Stenberg <>
Date: Sun, 6 Jan 2008 23:28:07 +0100 (CET)

On Sat, 29 Dec 2007, Daniel Stenberg wrote:

> Yeah, I can easily reproduce it as well, and I can also see why it happens.
> In the code that deals with compressed data, the code loops decompressing
> and writing multiple times, so returning 'pause' in the middle there won't
> work.

... until now when I've made the code append more data to the internally saved
"pool" while this is happening.

Attached to this mail is pause-3.patch, which seems to download compressed
chunked-encoded content fine as well, even when paused/unpaused like crazy!

I'll of course appreciate more eyes on and tests with this!

  Commercial curl and libcurl Technical Support:

Received on 2008-01-06