[Libevent-users] 1.4.13 (and lower): bug in configure: kqueue test-case w/ x86_64

2010-08-18 Thread Christopher Layne
Long time no see guys. Anyways, I'm here to report what I believe to be a bug in the test- case for kqueue that I noticed under Darwin 10.5 (Leopard). I've noticed that if I simply used -O0 vs -O2 I could change the test case from successful to failure. This usually indicates undefined behav

Re: [Libevent-users] Event after close

2010-08-18 Thread Nick Mathewson
On Wed, Aug 18, 2010 at 10:44 AM, Gilad Benjamini wrote: > I have a read event on a socket. At some point I realize the connection is > broken. > I delete the event and close the socket. > If the socket had pending data at that point, is there a chance that I will > get a read event ? I.e. an even

[Libevent-users] Event after close

2010-08-18 Thread Gilad Benjamini
I have a read event on a socket. At some point I realize the connection is broken. I delete the event and close the socket. If the socket had pending data at that point, is there a chance that I will get a read event ? I.e. an event on a socket that's already closed ? For the sake of simplicity, a