Re: [Libevent-users] evhttp request connection close

2010-04-27 Thread Sten Spans
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 req

[Libevent-users] evhttp request connection close

2010-04-27 Thread Sten Spans
/* * incoming connection - we need to leave the request on the * connection so that we can reply to it. */ evcon->state = EVCON_WRITING; } /* notify the user of the request */ -- Sten Spans "T