aboutsummaryrefslogtreecommitdiff
path: root/libs/VNLib.Plugins.Sessions.Cache.Client/src
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-05-22 15:33:19 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-05-22 15:33:19 -0400
commitf2dedded2a8646273c4dd13013b8334d64e02d6f (patch)
tree0fc6d76c715413bbd85a73c77c2660d50c52512a /libs/VNLib.Plugins.Sessions.Cache.Client/src
parent84f81db6ec729e24e2818557564e7da92259be43 (diff)
Squashed commit of the following:
commit 4c973bb81d8cff22a77eb082611746713390c99b Author: vnugent <public@vaughnnugent.com> Date: Sun May 19 11:41:55 2024 -0400 feat: Update to follow latest core features commit 7118b66c4f2655db01fd061e43f5214d0dd891e8 Author: vnugent <public@vaughnnugent.com> Date: Thu May 2 15:47:22 2024 -0400 refactor: Moved session security middleware commit 97722f178f5e5107fcbdd1df4944a818fedf8722 Merge: f70c94e 84f81db Author: vnugent <public@vaughnnugent.com> Date: Sat Apr 20 12:13:23 2024 -0400 Merge branch 'master' into develop commit f70c94e948aa41e90d99f187d8a4791a726bc681 Author: vnugent <public@vaughnnugent.com> Date: Sat Apr 20 00:48:49 2024 -0400 fix: Missing session detach flag on close commit 2a2078b8cc3dd216c46419bce7577ae572317955 Author: vnugent <public@vaughnnugent.com> Date: Mon Apr 15 16:22:38 2024 -0400 fix: fixed bearer token header requirments from crashing
Diffstat (limited to 'libs/VNLib.Plugins.Sessions.Cache.Client/src')
-rw-r--r--libs/VNLib.Plugins.Sessions.Cache.Client/src/SessionDataSerialzer.cs8
-rw-r--r--libs/VNLib.Plugins.Sessions.Cache.Client/src/VNLib.Plugins.Sessions.Cache.Client.csproj7
2 files changed, 9 insertions, 6 deletions
diff --git a/libs/VNLib.Plugins.Sessions.Cache.Client/src/SessionDataSerialzer.cs b/libs/VNLib.Plugins.Sessions.Cache.Client/src/SessionDataSerialzer.cs
index 94bb1c3..1e7faab 100644
--- a/libs/VNLib.Plugins.Sessions.Cache.Client/src/SessionDataSerialzer.cs
+++ b/libs/VNLib.Plugins.Sessions.Cache.Client/src/SessionDataSerialzer.cs
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2023 Vaughn Nugent
+* Copyright (c) 2024 Vaughn Nugent
*
* Library: VNLib
* Package: VNLib.Plugins.Sessions.Cache.Client
@@ -181,10 +181,10 @@ namespace VNLib.Plugins.Sessions.Cache.Client
}
//Add key/value elements
- writer.Append(element.Key);
- writer.Append(KV_DELIMITER);
+ writer.AppendSmall(element.Key);
+ writer.AppendSmall(KV_DELIMITER);
writer.Append(element.Value);
- writer.Append(KV_DELIMITER);
+ writer.AppendSmall(KV_DELIMITER);
}
//encode remaining data
diff --git a/libs/VNLib.Plugins.Sessions.Cache.Client/src/VNLib.Plugins.Sessions.Cache.Client.csproj b/libs/VNLib.Plugins.Sessions.Cache.Client/src/VNLib.Plugins.Sessions.Cache.Client.csproj
index ecc428f..d61688a 100644
--- a/libs/VNLib.Plugins.Sessions.Cache.Client/src/VNLib.Plugins.Sessions.Cache.Client.csproj
+++ b/libs/VNLib.Plugins.Sessions.Cache.Client/src/VNLib.Plugins.Sessions.Cache.Client.csproj
@@ -2,14 +2,17 @@
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
+ <Nullable>enable</Nullable>
<RootNamespace>VNLib.Plugins.Sessions.Cache.Client</RootNamespace>
<AssemblyName>VNLib.Plugins.Sessions.Cache.Client</AssemblyName>
<NeutralLanguage>en-US</NeutralLanguage>
- <Nullable>enable</Nullable>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
- <AnalysisLevel>latest-all</AnalysisLevel>
<RunAnalyzersDuringBuild>false</RunAnalyzersDuringBuild>
</PropertyGroup>
+
+ <PropertyGroup>
+ <AnalysisLevel Condition="'$(BuildingInsideVisualStudio)' == true">latest-all</AnalysisLevel>
+ </PropertyGroup>
<PropertyGroup>
<PackageId>VNLib.Plugins.Sessions.Cache.Client</PackageId>