[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] Free buffer of a http request



On Thu, Sep 6, 2012 at 1:13 PM, Bruno Avila <brunotavila@xxxxxxxxx> wrote:
> Hi,
>
> Once I make an evhttp request (e.g. GET) and read the content from the
> evbuffer, which buffers of struct evhttp_request should I free? Or is done
> transparently by libevent?

When the request is freed, its buffers should get freed too.

evhttp_request is not supposed to be a structure whose internals you
need to look at.

-- 
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.