Re: [Libevent-users] bufferevent_setwatermark() enables reading

2010-09-10 Thread Nick Mathewson
On Thu, Sep 9, 2010 at 5:40 PM, Simon Perreault wrote: > On 2010-09-09 17:28, Simon Perreault wrote: >> Would this be the right fix? > > Argh, git-send-email didn't do what I wanted it to do. Here's the patch > in attachment. Sorry. This looks good to me. Merging it. Thanks for tracking this do

Re: [Libevent-users] bufferevent_setwatermark() enables reading

2010-09-09 Thread Simon Perreault
On 2010-09-09 17:28, Simon Perreault wrote: > Would this be the right fix? Argh, git-send-email didn't do what I wanted it to do. Here's the patch in attachment. Sorry. Simon -- NAT64/DNS64 open-source --> http://ecdysis.viagenie.ca STUN/TURN server--> http://numb.viagenie.ca vCard 4.0

Re: [Libevent-users] bufferevent_setwatermark() enables reading

2010-09-09 Thread Simon Perreault
Would this be the right fix? *** To unsubscribe, send an e-mail to majord...@freehaven.net with unsubscribe libevent-usersin the body.

[Libevent-users] bufferevent_setwatermark() enables reading

2010-09-09 Thread Simon Perreault
Hello, I do this: bufev = bufferevent_socket_new(...); bufferevent_setcb(bufev, foo, ...); bufferevent_setwatermark(bufev, EV_READ, ...); When input exceeding the read watermark is received, foo() is called even though I did not call bufferevent_enable(bufev, EV_READ). Why is this? Inside foo(