Files
nats-server/server
Ivan Kozlovic f96f36c73d [FIXED] Websocket: TLS configuration not updated on reload
Although we do not support websocket configuration changes, we usually
try to support changes to TLS certificates, etc..

The way websocket is handled (using an http server), the TLS config
was given on startup and updates following a configuration reload
would not be reflected.
Using a tls.Config function that allows passing the tls config
prior to handshake seem to workaround this issue.

I have added a test that demonstrate that the TLS configuration
is really updated after the reload.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2021-04-07 13:58:35 -06:00
..
2020-05-19 14:15:11 -07:00
2021-04-05 22:03:14 +04:00
2021-04-02 16:38:10 -06:00
2021-04-02 08:42:37 -07:00
2020-02-25 19:53:09 -05:00
2020-11-17 18:57:45 +00:00
2021-03-31 11:23:31 -07:00
2021-03-25 18:09:35 -07:00
2021-01-14 01:14:52 -08:00
2021-01-14 01:14:52 -08:00
2019-05-06 15:41:38 -07:00
2020-06-12 10:03:47 -06:00
2018-10-06 14:06:14 -07:00
2018-03-15 22:31:07 -07:00
2019-11-14 20:05:32 -07:00
2018-03-15 22:31:07 -07:00
2019-11-14 20:05:32 -07:00
2019-12-12 11:58:24 -07:00
2021-02-23 10:57:00 -08:00