feat(batch9): implement f3 nats server ocsp wiring

This commit is contained in:
Joseph Doherty
2026-02-28 12:28:16 -05:00
parent 8f3e4a5a23
commit 87b4363eeb
7 changed files with 659 additions and 2 deletions
@@ -139,6 +139,22 @@ public sealed partial class NatsServer
Noticef("Server Exiting..");
var monitors = GetOcspMonitors();
foreach (var monitor in monitors)
{
monitor.Stop();
}
_mu.EnterWriteLock();
try
{
_ocsps = null;
}
finally
{
_mu.ExitWriteLock();
}
if (_ocsprc != null) { /* stub — stop OCSP cache in session 23 */ }
DisposeSignalHandlers();