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(

[Libevent-users] ANN: Libevent 2.0.7-rc is released

2010-09-09 Thread Nick Mathewson
Hello again! Thanks to many people's hard work, Libevent 2.0 has now had its second release candidate. You can download it from the Sourceforge site at: https://sourceforge.net/projects/levent/files/libevent/libevent-2.0/libevent-2.0.7-rc.tar.gz/download There's also a pgp signature of it (b

[Libevent-users] Write quirks in default eventbuffer implementation?

2010-09-09 Thread Kelly Brock
Hi folks, First off, let me preface this in terms that I've used 1.x libevent a bit in the past but given the 2.x release candidate I'm experimenting with, I can't say what is proper and what is actually a bug. So, with that in mind I'm not certain if this is me using things incorrectly o