On 2011-06-24, at 10:57 PM, Nick Mathewson wrote:
> Tentatively, I'm going to blame this one on some kind of buffering or
> stalling issue in netcat or in your terminal, not on libevent. When I
> write a trivial libevent-based client program to hammer your server
> program, it works fine. See t
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
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