Re: [Libevent-users] Constraining size of output buffer

2011-06-24 Thread Nick Mathewson
On Fri, Jun 24, 2011 at 8:22 PM, Mina Naguib wrote: > > Hi everyone > > I'm trying to keep a hostile client from causing a libevent server from > consuming too much memory in buffered data. > > Using bufferevents, I let libevent keep the input buffer within limits using > its watermark mechanism

[Libevent-users] Constraining size of output buffer

2011-06-24 Thread Mina Naguib
Hi everyone I'm trying to keep a hostile client from causing a libevent server from consuming too much memory in buffered data. Using bufferevents, I let libevent keep the input buffer within limits using its watermark mechanism, and I added a simple mechanism in the server to, essentially, s