Re: rpki-client http keep-alive support

2021-04-20 Thread Job Snijders
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 cod

Re: rpki-client http keep-alive support

2021-04-20 Thread Claudio Jeker
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 conne

Re: rpki-client http keep-alive support

2021-04-16 Thread Theo de Raadt
> The benefit of using keep-alive is less CPU time wasted on constant TLS > handshakes. I did not notice any speed improvements. And... not bouncing between inconsistant CA endpoints. Further discussion about that problem will occur elsewhere.

rpki-client http keep-alive support

2021-04-16 Thread Claudio Jeker
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). Idl