Re: [Libevent-users] bug in epoll.c ?

2009-03-08 Thread Nick Mathewson
On Fri, Mar 06, 2009 at 10:20:02AM +0100, Alon Noy wrote: > When I'm running my libevent based application under valgrind I'm > getting messages about memory access violations in epoll.c. when > changing line 125 from: > > nfiles = rl.rlim_cur - 1; > > to: > > nfiles = rl.rlim_cur; > > then the

Re: [Libevent-users] Multiple identical events on same fd in same loop

2009-03-08 Thread Nick Mathewson
On Sat, Mar 07, 2009 at 01:45:21PM -0500, Thor Lancelot Simon wrote: [...] > I see two ways to handle this. One is with very, very nasty application > logic, and the other is to simply set two separate events with the SSL > fd, each waiting on EV_WRITE. So when the SSL fd comes ready for write -