Add TTL-based expiry and cleanup for PKCE verifiers to prevent unbounded memory growth

This commit is contained in:
Viktor Liu
2026-02-12 15:12:41 +08:00
parent d689718b50
commit 5d606d909d
2 changed files with 54 additions and 10 deletions
+1
View File
@@ -217,6 +217,7 @@ func (s *BaseServer) Stop() error {
_ = s.certManager.Listener().Close()
}
s.GRPCServer().Stop()
s.ReverseProxyGRPCServer().Close()
if s.proxyAuthClose != nil {
s.proxyAuthClose()
s.proxyAuthClose = nil