Re: [Libevent-users] Setting timeout to NULL on bufferevents doesn't work as expected

2012-08-08 Thread Diwaker Gupta
On Wed, Aug 8, 2012 at 3:24 PM, Nick Mathewson wrote: > On Mon, Aug 6, 2012 at 5:31 PM, Diwaker Gupta wrote: > I don't believe that we defined whether setting the timeout to NULL > will cancel any currently pending timeouts. That is, if the timeout > has already fired, and the corresponding even

Re: [Libevent-users] Setting timeout to NULL on bufferevents doesn't work as expected

2012-08-08 Thread Nick Mathewson
On Mon, Aug 6, 2012 at 5:31 PM, Diwaker Gupta wrote: > I've filed a bug with all details and sample code that demonstrates > the problem on Github: > https://github.com/libevent/libevent/issues/16 > > Nick: can you verify if my understand of the expected behavior is > correct. That is, if I set ti

[Libevent-users] Setting timeout to NULL on bufferevents doesn't work as expected

2012-08-06 Thread Diwaker Gupta
I've filed a bug with all details and sample code that demonstrates the problem on Github: https://github.com/libevent/libevent/issues/16 Nick: can you verify if my understand of the expected behavior is correct. That is, if I set timeout to NULL, any existing timers should get cancelled and no fu