Hi Todd,

On Sun, Aug 26, 2012 at 6:17 AM, Todd Loeber <[email protected]> wrote:
> Bug) In file curl_action.c, do_get_post_url uses strdup to copy
> chunk.data, truncating binary blob content during download.
>
> I confirmed that returning chunk.data and header_chunk.data (instead
> of strduping and freeing them) allows retrieval of binary data and
> incidentally avoids an unnecessary copy.  The caller is already
> responsible for freeing the output parameters.
>
> If libdeltacloud is still alive, it would be nice to have
> do_get_post_url fixed so binary blobs can be downloaded.  And also,
> some enhancements!
>

the libdeltacloud project is not currently maintained, but we would be
more than pleased to see that libdeltacloud keep gaining some
interest, with some new "fresh" patch, so why not help us to keep this
project alive? :) :) :)

Cheers,
Francesco Vollero

>
> Enhancement Request 1) Replace or supplement POST with PUT for uploading files
> Enhancement Request 2) Add a method for downloading blobs directly to
> a file (rather than into memory).
>
> Many thanks,
>
> Todd

Reply via email to