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