Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Changing some ssl attributes on the fly

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!


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

On Mon, Feb 6, 2017 at 10:10 AM, Jaap de Jong <jaap.dejong@xxxxxxxxx> wrote:
Hi All,

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


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.

Back to the top