Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/KurrentDB.Core/ClusterVNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,9 @@ public ClusterVNode(ClusterVNodeOptions options,
OptionsFormatter.LogConfig("Archive", archiveOptions);
archiveOptions.Validate();

var disableInternalTcpTls = options.Application.Insecure;
var disableExternalTcpTls = options.Application.Insecure;
var nodeTcpOptions = GetOptions<NodeTcpOptions>("TcpPlugin");
var disableInternalTcpTls = options.Application.Insecure;
var disableExternalTcpTls = options.Application.Insecure || nodeTcpOptions.DisableExternalTcpTls;
var enableExternalTcp = nodeTcpOptions.EnableExternalTcp;

var httpEndPoint = new IPEndPoint(options.Interface.NodeIp, options.Interface.NodePort);
Expand Down
1 change: 1 addition & 0 deletions src/KurrentDB.Core/NodeTcpOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ namespace KurrentDB.Core;
public class NodeTcpOptions {
public int NodeTcpPort { get; init; } = 1113;
public bool EnableExternalTcp { get; init; }
public bool DisableExternalTcpTls { get; init; }
public int? NodeTcpPortAdvertiseAs { get; init; }
}
Loading