mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-17 03:24:40 -07:00
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>
36 KiB
36 KiB