feat(batch9): implement f3 nats server ocsp wiring
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user