<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.&nbsp; I'd recommend moving those features out into supporting libraries (libevent-http/libevent-dns?) or even just using them as samples.&nbsp; 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 &lt;wouter@NLnetLabs.nl&gt;<br>To: Christopher Layne &lt;clayne@anodized.com&gt;<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>&nbsp;&nbsp; Wouter<br><br>Christopher Layne wrote:<br>&gt; On Thu, Sep 27, 2007 at 08:31:32AM -0700, Niels Provos wrote:<br>&gt;&gt; Hi Christopher,<br>&gt;&gt;<br>&gt;&gt; I am not sure if this is necessarily the right way to go for
 a<br>&gt;&gt; library, esp if it can impact backwards compatibility for<br>&gt;&gt; bufferevents.&nbsp;&nbsp;As for reducing the size of the library, do you really<br>&gt;&gt; think that 30K make a difference these days?<br>&gt;&gt;<br>&gt;&gt; Niels.<br>&gt; <br>&gt; It won't impact backwards compatibility unless someone explictly removed<br>&gt; support for bufferevents. Additionally, where do we draw the line on<br>&gt; what makes a difference these days, when it comes down to it? 1M? 2M?<br>&gt; On a typical *bsd/linux platform, I agree, it won't make a significant<br>&gt; difference at the end of the day. I also agree that using autoconf and<br>&gt; automake to manipulate things is a hack in itself (they always feel like<br>&gt; a hack unfortunately). I also don't know how many people are using<br>&gt; libevent on smaller platforms (embedded, etc) but I thought that perhaps<br>&gt; it could have had some kind of benefit.<br>&gt; <br>&gt; Part of my
 impetus was based on this post which directly identifies some<br>&gt; concerns and ideas:<br>&gt; <br>&gt; --<br>&gt;&gt;From provos@citi.umich.edu&nbsp;&nbsp;Thu Feb&nbsp;&nbsp;8 11:31:50 2007<br>&gt; From: provos@citi.umich.edu (Niels Provos)<br>&gt; Date: Thu Feb&nbsp;&nbsp;8 11:31:53 2007<br>&gt; Subject: [Libevent-users] [Patch] Third attempt: Add support for DNS<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; servers to evdns.c (This time with regression tests!)<br>&gt; In-Reply-To: &lt;45BF380D.9030307@nlnetlabs.nl&gt;<br>&gt; References: &lt;20070129180804.GY22997@totoro.wangafu.net&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;45BF380D.9030307@nlnetlabs.nl&gt;<br>&gt; Message-ID: &lt;850f7cbe0702080831v158ffa5of3e54456c5330a75@mail.gmail.com&gt;<br>&gt; Status: RO<br>&gt; Content-Length: 720<br>&gt; Lines: 16<br>&gt; <br>&gt; On 1/30/07, Wouter Wijngaards &lt;wouter@nlnetlabs.nl&gt; wrote:<br>&gt;&gt; Please, why put
 these really big http and dns protocols into an event<br>&gt;&gt; handling library? I would prefer libevent to stay focused on providing<br>&gt;&gt; portable select() and alternatives wrappers.<br>&gt;&gt;<br>&gt;&gt; The http and evdns are pretty big compared to the rest of libevent. They<br>&gt;&gt; can be put in their own library(or -ies) perhaps? Some sort of<br>&gt;&gt; libevent-driven application support?<br>&gt; <br>&gt; There has been some talk about libevent creating two different<br>&gt; libraries during compile.&nbsp;&nbsp;One would be the traditional libevent and<br>&gt; the other one would layer on top of it.&nbsp;&nbsp; Still thinking about the<br>&gt; best way of doing this, but you are not the only one with concerns<br>&gt; about bloat.<br>&gt; <br>&gt; Niels.<br>&gt; --<br>&gt; <br>&gt; So based on that, I went and wrote a patch.<br>&gt; <br>&gt; -cl<br>&gt; _______________________________________________<br>&gt; Libevent-users mailing
 list<br>&gt; Libevent-users@monkey.org<br>&gt; <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>