[PATCH] DLD upload

Dirk Hohndel dirk at hohndel.org
Wed Mar 13 12:39:09 PDT 2013


"Lubomir I. Ivanov" <neolit123 at gmail.com> writes:

> On 13 March 2013 16:51, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
>>
>> on the other hand, the libsoup re-write should be quite trivial, also
>> if i'm no mistaken we get easy SSL support, but that has to be
>> confirmed.
>>
>
> here is a (untested) libsoup variant for reference. as you can see
> it's more code even without the error checks, which seems typical for
> the gnome folks, even if the library capabilities are overall smaller
> in comparison to libcurl (as they say). but i really think we should
> move both the zip packaging code and the upload code to a new pair
> e.g. upload.c/upload.h. we then can use the same file to write a
> dialog and the same dialog to upload to different website platforms.
> but please, don't put this in divelist.c :-).

Sadly you and I have written almost the same code at the same time - I
have a working libsoup implementation right now - sadly the DLD file
that we create is actually broken so the upload then fails. I'm
debugging that part right now...

I have the code in webservice.c (that seems like the logical place -
let's not start yet another new file) and I'm using existing helper
functions from file.c to create the "yet another (soup)buffer".

/D



More information about the subsurface mailing list