On Wed, Jan 16, 2013 at 09:33:22PM +0100, Holger Winkelmann wrote: > Can't speak from person experience, but my team has worked with the libevent > and > libev libraries which contain http libraries as well. IIUC, libev uses libevent code for HTTP through a compatibility layer. libevent has only very basic functionality. E.g. I couldn't see a mention of POST requests anywhere. libmicrohttpd at least abstracts this to the point where I only have to provide a callback to consume buffers with data.
Also, libevent/libev are about abstracting event loops. Since journald is linux only, this extra abstraction layer is not very useful. > libevent http library is linked to openssl. Are you saying that openssl is better? Zbyszek > On Jan 16, 2013, at 9:18 PM, David Strauss <da...@davidstrauss.net> wrote: > > > On Wed, Jan 16, 2013 at 12:07 PM, Zbigniew Jędrzejewski-Szmek > > <zbys...@in.waw.pl> wrote: > >> I would be happy to replace it with something different. > > > > Any recommendations? I've built a few projects with libmicrohttpd. I > > don't find the library intuitive, but many of the reasons behind > > design decisions have become clear to me after deeper use. I actually > > find a lot of it quite clever. I also haven't found many lightweight > > alternatives that invert the typical model of control by keeping the > > program in control instead of a web server daemon. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel