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

View File

@@ -411,8 +411,12 @@ public sealed partial class NatsServer
// Assign leaf options.
s._leafNodeEnabled = opts.LeafNode.Port != 0 || opts.LeafNode.Remotes.Count > 0;
// OCSP (stub — session 23).
// s.EnableOcsp() — deferred
var ocspError = s.EnableOCSP();
if (ocspError != null)
{
s._mu.ExitWriteLock();
return (null, ocspError);
}
// Gateway (stub — session 16).
// s.NewGateway(opts) — deferred