On Tue, Apr 20, 2021 at 10:27:51AM +0200, Claudio Jeker wrote:
> On Fri, Apr 16, 2021 at 12:21:56PM +0200, Claudio Jeker wrote:
> > This diff changes the http module to support keep-alive.
> > It splits requests (for a resource) from connections (to a server).
> > When a request is received the code tries to first use a IDLE connection,
> > if none is around a new connection is started (unless there are too many
> > connections inflight).
> > 
> > Idle connections are kept for 10sec and closed after that time. For
> > rpki-client this should work well since the RRDP exchange will be a burtst
> > of requests (one after another). There is only one server that is
> > connected twice during the run (one server hosting 2 repos).
> > 
> > The benefit of using keep-alive is less CPU time wasted on constant TLS
> > handshakes. I did not notice any speed improvements.
> > 
> > After fixing most issues in the http module the last few days this is less
> > urgent to go in. Still sending it out so people can play with it.
> 
> Updated diff to apply after all the KNF commits.

OK job@

Reply via email to