aboutsummaryrefslogtreecommitdiff
path: root/plugins/ObjectCacheServer/src/Endpoints
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-03-25 14:25:21 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2023-03-25 14:25:21 -0400
commitf56566feeeff0441ba8dd22e4ed755fab1ef7e11 (patch)
tree08078e0021b1f25d4ec537eb8225d3f703e522ff /plugins/ObjectCacheServer/src/Endpoints
parent2027296bb0bd1e72f93c4f470cadca153c7ec2dd (diff)
Defer cors to host/middleware/user code
Diffstat (limited to 'plugins/ObjectCacheServer/src/Endpoints')
-rw-r--r--plugins/ObjectCacheServer/src/Endpoints/BrokerHeartBeat.cs4
-rw-r--r--plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ObjectCacheServer/src/Endpoints/BrokerHeartBeat.cs b/plugins/ObjectCacheServer/src/Endpoints/BrokerHeartBeat.cs
index 3930f90..97061b3 100644
--- a/plugins/ObjectCacheServer/src/Endpoints/BrokerHeartBeat.cs
+++ b/plugins/ObjectCacheServer/src/Endpoints/BrokerHeartBeat.cs
@@ -48,11 +48,11 @@ namespace VNLib.Data.Caching.ObjectCache.Server
private readonly Task<IPAddress[]> BrokerIpList;
private readonly PluginBase Pbase;
+ ///<inheritdoc/>
protected override ProtectionSettings EndpointProtectionSettings { get; } = new()
{
DisableBrowsersOnly = true,
- DisableSessionsRequired = true,
- DisableVerifySessionCors = true
+ DisableSessionsRequired = true
};
public BrokerHeartBeat(Func<string> token, ManualResetEvent keepaliveSet, Uri brokerUri, PluginBase pbase)
diff --git a/plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs b/plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs
index 6517537..2f896bc 100644
--- a/plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs
+++ b/plugins/ObjectCacheServer/src/Endpoints/ConnectEndpoint.cs
@@ -75,11 +75,11 @@ namespace VNLib.Data.Caching.ObjectCache.Server
public CacheConfiguration CacheConfig { get; }
//Loosen up protection settings
+ ///<inheritdoc/>
protected override ProtectionSettings EndpointProtectionSettings { get; } = new()
{
DisableBrowsersOnly = true,
- DisableSessionsRequired = true,
- DisableCrossSiteDenied = true
+ DisableSessionsRequired = true
};
public ConnectEndpoint(PluginBase plugin, IConfigScope config)