On Tue, 27 Apr 2010, Niels Provos wrote:
On Tue, Apr 27, 2010 at 12:14 AM, Sten Spans wrote:
Is inserting a Connection close header in the last request the best way to
complete the event-loop? Wouldn't it be better to reset _outgoing_
connections in evhttp_connection_done when all requests are
On Tue, Apr 27, 2010 at 12:14 AM, Sten Spans wrote:
> Is inserting a Connection close header in the last request the best way to
> complete the event-loop? Wouldn't it be better to reset _outgoing_
> connections in evhttp_connection_done when all requests are handled?
> Something like the followin
I'm working on a program which needs to make a few http-post requests.
The following sample code demonstrates that libevent only closes
outgoing connections (and exits the event-loop) if Connection close
is specified.
event_init();
evcon = evhttp_connection_new("google.com", 80);
req