hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: How to clear SSL State in HC4.5.5
Date Sun, 11 Mar 2018 16:57:30 GMT
It looks a bit aggressive to me, but if you say it’s ok, it’s fine for me.

So you confirm I need to keep reference to
poolingHttpClientConnectionManager right ?
No way from httpclient

Thanks
On Sunday, March 11, 2018, Oleg Kalnichevski <olegk@apache.org> wrote:

> On Sun, 2018-03-11 at 15:57 +0100, Philippe Mouawad wrote:
> > I mean starting with a fresh sslcontext.
> > It works if I keep a ref on PoolingHttpConnectionManager and call
> >
> > poolingHttppoolingHttpClientConnectionManagerClientConnectionMan
> ager.closeExpiredConnections();

> poolingHttpClientConnectionManager.closeIdleConnections(1L,
> > TimeUnit.MICROSECONDS);
> >
> >
> > But is there a better way ?
>
> What is so bad about using the connection manager to close out all
> persistent connections?
>
> Oleg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>

-- 
Cordialement.
Philippe Mouawad.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message