On 2/15/2011 9:38 PM, Nick Mathewson wrote:
On Tue, Feb 15, 2011 at 5:42 AM, Bas Verhoeven<[email protected]> wrote:
Hi,
Is there some way to tell evhttp (in libevent2) to abort a request once it
has received more than<x> bytes of data?
evhttp_connection_set_max_body_size() sounds like what you're asking for.
That looks perfect indeed. Strange that I didn't find it earlier, thanks!
***********************************************************************
To unsubscribe, send an e-mail to [email protected] with
unsubscribe libevent-users in the body.