hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: How to clear SSL State in HC4.5.5
Date Sun, 11 Mar 2018 13:26:22 GMT
On Sat, 2018-03-10 at 14:08 +0100, Philippe Mouawad wrote:
> ...

> > Hello,
> > 
> > In current jmeter trunk when we have Client certificate
> > authentication and
> > we need to reset SSL State so another SSLContext is created we do
> > this:
> > https://github.com/apache/jmeter/blob/trunk/src/protocol/http/org/a
> > pache/
> > jmeter/protocol/http/sampler/HTTPHC4Impl.java#L838
> > 
> > 
> > We are currently migrating to last 4.5 and would like to know what
> > is the
> > clean way to reset SSL State ?

I am not sure I understand what exactly you mean by resetting SSL
state.

Oleg


> > Since httpClient.getConnectionManager() is deprecated.
> > Should we keep a reference to PoolingHttpClientConnectionManager
> > and call
> > those methods on it ?
> > 
> > Current state of migration is here:
> > 
> >    - https://github.com/ubikloadpack/jmeter/blob/HC4_
> >    FULL_MIGRATION/src/protocol/http/org/apache/jmeter/
> >    protocol/http/sampler/HTTPHC4Impl.java#L973
> >    <https://github.com/ubikloadpack/jmeter/blob/HC4_FULL_MIGRATION/
> > src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Im
> > pl.java#L973>
> > 
> > 
> > To recap, in JMeter we have 1 HttpClient per User (and this is
> > needed as
> > per a previous discussion on this mailing list).
> > 
> > Thanks for your help.
> > --
> > Regards.
> > Philippe M.
> > 
> > 
> > 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message