[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] possible file descriptor leak

On Tue, Feb 21, 2012 at 8:17 PM, Amarin Phaosawasdi
<amarinph@xxxxxxxxxxxx> wrote:
> We've written a very simple client and server in Libevent.
> Is this expected behavior?

Thanks for helping to debug the master branch of Libevent!  No,
leaking infinite sockets is never the correct behavior.  (If you
didn't actually want to be alpha-testing code, you'd probably like the
stable releases better.)

I just pushed a couple of commits that might fix this; please let me
know whether it worked.

Also, a unit test that causes a great number of sockets to open and
get closed would be pretty cool if somebody wants to write one.

To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.