Hi Niels,
Thanks for your reply.
Le Sat, Apr 03, 2010 at 01:55:32PM -0700, Niels Provos ecrivait :
> HTTP 1/1 keeps connections open by default. You are exiting the loop
> before the connection has been closed. evhttp_free is not responsible
> for cleaning up in those cases.
Well, the c
On Sat, Apr 3, 2010 at 1:35 PM, Frank Denis wrote:
> Apparently, when using libevent 2 in order to serve HTTP requests,
> the evhttp_connection instance isn't properly released if the
> "Connection: closed" header is not send.
HTTP 1/1 keeps connections open by default. You are exiting the loo
Hello,
Apparently, when using libevent 2 in order to serve HTTP requests,
the evhttp_connection instance isn't properly released if the
"Connection: closed" header is not send.
Simple test-case:
#include
#include
void http_dispatcher_cb(struct evhttp_request * const req,