<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">+1 for the features not belonging in the library. I'd recommend moving those features out into supporting libraries (libevent-http/libevent-dns?) or even just using them as samples. Most users would probably end up tweaking the http code anyways, in my opinion.<br><br>Otherwise, I'm using libevent as the basis for a set of single-threaded C++ class libraries (sockets and timers and such), and so far, I'm extremely happy with it.<br><br>Thanks for great library.<br>Larry<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Wouter Wijngaards <wouter@NLnetLabs.nl><br>To: Christopher Layne <clayne@anodized.com><br>Cc:
libevent-users@monkey.org<br>Sent: Monday, October 1, 2007 8:11:36 AM<br>Subject: Re: [Libevent-users] [PATCH] Add autoconf/make functionality for --disable-dns, --disable-http, and --disable-bevents<br><br><div>-----BEGIN PGP SIGNED MESSAGE-----<br>Hash: SHA1<br><br>Hi,<br><br>I'll speak up again, and say that I think the features do not belong in<br>the library. It is feature bloat - for libevent - but perhaps not in<br>their own library, where they would be enriched features built upon<br>libevent. My argument was not based on 30Kb library, but on lines of<br>code, and thus also code complexity and bugs, that it has.<br><br>More code means more maintenance, luckily Nick is helping you now.<br><br>Best regards,<br> Wouter<br><br>Christopher Layne wrote:<br>> On Thu, Sep 27, 2007 at 08:31:32AM -0700, Niels Provos wrote:<br>>> Hi Christopher,<br>>><br>>> I am not sure if this is necessarily the right way to go for
a<br>>> library, esp if it can impact backwards compatibility for<br>>> bufferevents. As for reducing the size of the library, do you really<br>>> think that 30K make a difference these days?<br>>><br>>> Niels.<br>> <br>> It won't impact backwards compatibility unless someone explictly removed<br>> support for bufferevents. Additionally, where do we draw the line on<br>> what makes a difference these days, when it comes down to it? 1M? 2M?<br>> On a typical *bsd/linux platform, I agree, it won't make a significant<br>> difference at the end of the day. I also agree that using autoconf and<br>> automake to manipulate things is a hack in itself (they always feel like<br>> a hack unfortunately). I also don't know how many people are using<br>> libevent on smaller platforms (embedded, etc) but I thought that perhaps<br>> it could have had some kind of benefit.<br>> <br>> Part of my
impetus was based on this post which directly identifies some<br>> concerns and ideas:<br>> <br>> --<br>>>From provos@citi.umich.edu Thu Feb 8 11:31:50 2007<br>> From: provos@citi.umich.edu (Niels Provos)<br>> Date: Thu Feb 8 11:31:53 2007<br>> Subject: [Libevent-users] [Patch] Third attempt: Add support for DNS<br>> servers to evdns.c (This time with regression tests!)<br>> In-Reply-To: <45BF380D.9030307@nlnetlabs.nl><br>> References: <20070129180804.GY22997@totoro.wangafu.net><br>> <45BF380D.9030307@nlnetlabs.nl><br>> Message-ID: <850f7cbe0702080831v158ffa5of3e54456c5330a75@mail.gmail.com><br>> Status: RO<br>> Content-Length: 720<br>> Lines: 16<br>> <br>> On 1/30/07, Wouter Wijngaards <wouter@nlnetlabs.nl> wrote:<br>>> Please, why put
these really big http and dns protocols into an event<br>>> handling library? I would prefer libevent to stay focused on providing<br>>> portable select() and alternatives wrappers.<br>>><br>>> The http and evdns are pretty big compared to the rest of libevent. They<br>>> can be put in their own library(or -ies) perhaps? Some sort of<br>>> libevent-driven application support?<br>> <br>> There has been some talk about libevent creating two different<br>> libraries during compile. One would be the traditional libevent and<br>> the other one would layer on top of it. Still thinking about the<br>> best way of doing this, but you are not the only one with concerns<br>> about bloat.<br>> <br>> Niels.<br>> --<br>> <br>> So based on that, I went and wrote a patch.<br>> <br>> -cl<br>> _______________________________________________<br>> Libevent-users mailing
list<br>> Libevent-users@monkey.org<br>> <a target="_blank" href="http://monkey.org/mailman/listinfo/libevent-users">http://monkey.org/mailman/listinfo/libevent-users</a><br><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.7 (GNU/Linux)<br>Comment: Using GnuPG with Fedora - <a target="_blank" href="http://enigmail.mozdev.org">http://enigmail.mozdev.org</a><br><br>iD8DBQFHAOP4kDLqNwOhpPgRAts5AKCNRbr//JnAqLV2OMmhtp1SPy2HjQCfdrVL<br>85SGZbpBvUMo3OhKpvaUjyU=<br>=603c<br>-----END PGP SIGNATURE-----<br>_______________________________________________<br>Libevent-users mailing list<br>Libevent-users@monkey.org<br><a target="_blank" href="http://monkey.org/mailman/listinfo/libevent-users">http://monkey.org/mailman/listinfo/libevent-users</a><br></div></div><br></div></div></body></html>