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.
cheers,
--
Nick
***
Hi Nick,
On Fri, Feb 11, 2011 at 9:13 PM, Nick Mathewson wrote:
> Well, something's certainly wrong here. I'm not sure whether to call
> it a bug in the documentation or a bug in the code. My inclination is
> to call the code correct and change the doxygen comment from
>
> "This function does
Hi,
Is there some way to tell evhttp (in libevent2) to abort a request once
it has received more than bytes of data?
I'm writing a small utility with a simple job of fetching a ''
from a HTML page and want to make sure my utility does not end up on a
site that decides to send it several meg