Thanks! That was really helpful!

I sort of have the same question for updating proxy settings.

In some occasions I have to turn it on or off.

Is there also some sort of reload option available? Or create a new HttpClient in such cases?

Thanks in advance!

Jaap


On 06-02-17 11:04, Simone Bordet wrote:
Hi,

On Mon, Feb 6, 2017 at 10:10 AM, Jaap de Jong <[email protected]> wrote:
Hi All,

In an existing and running HttpClient(sslContextFactory), I want to update 2
ssl attributes:

         sslContextFactory.setValidateCerts(false);
         sslContextFactory.setTrustAll(true);

And at another point in time I want to set that to the opposite.

Is this a valid operation, or do I need to create a new HttpClient for every
sslContextFactory update?
You need to reload the SslContextFactory and change the attribute you
want in the Consumer.
See https://github.com/eclipse/jetty.project/issues/918.


_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to