Re: [Libevent-users] evhttp: Abort after receiving a certain number of bytes

2011-02-16 Thread Bas Verhoeven
On 2/16/2011 9:37 AM, Bas Verhoeven wrote: On 2/15/2011 9:38 PM, Nick Mathewson wrote: 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! I have been doing some testing and it turns out that this

Re: [Libevent-users] evhttp: Abort after receiving a certain number of bytes

2011-02-16 Thread Bas Verhoeven
On 2/15/2011 9:38 PM, Nick Mathewson wrote: On Tue, Feb 15, 2011 at 5:42 AM, Bas Verhoeven wrote: Hi, Is there some way to tell evhttp (in libevent2) to abort a request once it has received more than bytes of data? evhttp_connection_set_max_body_size() sounds like what you're asking for.