set server configuration checksum on reload

This commit is contained in:
Chelsea Holland Komlo
2018-03-27 18:00:41 -04:00
parent f8df2071ef
commit 7de20ac806
3 changed files with 3 additions and 0 deletions

View File

@@ -414,6 +414,7 @@ func (c *Client) reloadTLSConnections(newConfig *nconfig.TLSConfig) error {
// decide on what type of connections to accept
c.configLock.Lock()
c.config.TLSConfig = newConfig
c.config.TLSConfig.SetChecksum()
c.configLock.Unlock()
c.connPool.ReloadTLS(tlsWrap)