[Libevent-users] libevent 1.2 varargs bug

2006-11-28 Thread AnToXa
Hello. i've been trying to 'make verify' libevent-1.2 on x86-64 SLES9 (gcc 3.3.3, glibc 2.3.5 (20050720) ) system. it just segfaults on regress evbuffer test, i've tracked the issue down to the loop calling vsnprintf() inside evbuffer_add_vprintf() the problem is that you can't call vsnprintf()

Re: [Libevent-users] libevent 1.2

2006-10-18 Thread Rhythmic Fistman
From: Christopher Baus [EMAIL PROTECTED] Has there been much interest in an IOCP port for libevent? I would certainly be interested. I even started working on a rough port, but as mentioned IOCP is proactive rather than reactive, (ie you tell it how much to read/send and the event tells

Re: [Libevent-users] libevent 1.2

2006-10-18 Thread William Ahern
On Wed, Oct 18, 2006 at 12:04:11AM -0600, Jason Ish wrote: I ran across at least one criticism of libevent gaining too much other than pure event library: http://varnish.projects.linpro.no/wiki/EventLibrary All of these criticisms are partially or wholly invalid. The DNS and HTTP code is

Re: [Libevent-users] libevent 1.2

2006-10-18 Thread Scott Lamb
On Oct 18, 2006, at 11:49 AM, William Ahern wrote: On Wed, Oct 18, 2006 at 12:04:11AM -0600, Jason Ish wrote: I ran across at least one criticism of libevent gaining too much other than pure event library: http://varnish.projects.linpro.no/wiki/EventLibrary All of these criticisms are

Re: [Libevent-users] libevent 1.2

2006-10-18 Thread Ycrux
Hi There! Completely agree with you, William. If you need a feature, spend time to add it. cheers Youns William Ahern a crit: On Wed, Oct 18, 2006 at 12:04:11AM -0600, Jason Ish wrote: I ran across at least one criticism of libevent gaining too much other than pure event library:

Re: [Libevent-users] libevent 1.2

2006-10-18 Thread Jason Ish
On Wed, Oct 18, 2006 at 12:11:20PM -0700, Scott Lamb wrote: On Oct 18, 2006, at 11:49 AM, William Ahern wrote: On Wed, Oct 18, 2006 at 12:04:11AM -0600, Jason Ish wrote: I ran across at least one criticism of libevent gaining too much other than pure event library:

Re: [Libevent-users] libevent 1.2

2006-10-18 Thread Rhythmic Fistman
From: William Ahern [EMAIL PROTECTED] On Wed, Oct 18, 2006 at 12:21:17AM -, Christopher Baus wrote: I'm not recommending that this should be in libevent, but if you are looking for something that abstracts out both IOCP and non-blocking sockets, ASIO is a good place to start. I

Re: [Libevent-users] libevent 1.2

2006-10-17 Thread Jarrod Roberson
On 10/17/06, Scott Lamb [EMAIL PROTECTED] wrote: On Oct 17, 2006, at 12:19 PM, Rhythmic Fistman wrote: On 10/17/06, Scott Lamb [EMAIL PROTECTED] wrote: On Oct 17, 2006, at 11:08 AM, Rhythmic Fistman wrote: That's funny, there doesn't seem to be a self-pipe-trick implementation in lib-evt... how

Re: [Libevent-users] libevent 1.2

2006-10-17 Thread Gordon Scott
Neato! Seems you've subsumed most OS event waiting interfaces.Does that include win32 IOCPs (io completion ports) yet?If not, they're definitely worth a look. However, they're not very selecty, in that they scale well and they tell you when somethinghas actually happened instead of when something

Re: [Libevent-users] libevent 1.2

2006-10-17 Thread Christopher Baus
The slickest implementation I've seen that works with *nix non-blocking I/O and Windows IOCP is boost ASIO http://asio.sourceforge.net/. Instead of modeling reactive behavior with IOCP, it mimics proactive behavior on *nix. It works out surprisingly well. I'm privy to my own [C] library