On 07/25/2016 03:56 PM, Michael Stahl wrote:
On 21.07.2016 08:51, Giuseppe Castagno wrote:
4) Curl for WebDAV as well?
===========================
4) the idea came up reading
<http://nabble.documentfoundation.org/Build-WebDAV-neon-serf-differences-among-the-two-tp4157134p4157624.html>.
I'd like to spend some time to see about libcurl doing the work neon
does, by implementing first OPTIONS, HEAD GET methods, the one needed
for standard web access.
The (very brave and challenging) idea is to substitute neon with libcurl
in the future.
From LO code POV, libcurl is very similar to serf: an external
library that performs the bare needs of 'http://' protocol.
So some idea on how to use libcurl stem out from both the serf software
connection structure in ucb provider, and the way libcurl is used in
libcmis.
Obviously, in this case, the unit tests for WebDAV will follow the road
used in libcmis for libcurl.
Need some advice on this: is it worth the effort? In terms of license,
other libs libcurl uses, etc...
...
that's an awesome idea with a lot of potential for simplifying things,
without introducing new problems since we already bundle curl, but also
quite some work i'm afraid. maybe the general structure and some code
can be taken from the serf UCP, since it operates at a similar
abstraction level being a HTTP library with no special DAV support?
that's what I have in mind: getting the overall structure of serf UCP,
with the changes I made in neon UCP.
--
Kind Regards,
Giuseppe Castagno
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice