Fix reloading of tls.certificate_path, tls.key_path and tls.ech.key_path

This commit is contained in:
zeetex 2024-11-18 13:24:14 +08:00 committed by 世界
parent 97c47e72c4
commit 1d81996ceb
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
2 changed files with 3 additions and 3 deletions

View file

@ -107,7 +107,7 @@ func (c *STDServerConfig) startWatcher() error {
return err
}
c.watcher = watcher
return nil
return c.watcher.Start()
}
func (c *STDServerConfig) certificateUpdated(path string) error {