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