diff --git a/.idea/.idea.Abyss/.idea/workspace.xml b/.idea/.idea.Abyss/.idea/workspace.xml
index 874fbeb..dc60824 100644
--- a/.idea/.idea.Abyss/.idea/workspace.xml
+++ b/.idea/.idea.Abyss/.idea/workspace.xml
@@ -10,16 +10,8 @@
-
-
-
-
-
-
-
-
-
+
@@ -93,7 +85,7 @@
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
"RunOnceActivity.git.unshallow": "true",
"XThreadsFramesViewSplitterKey": "0.30266345",
- "git-widget-placeholder": "main",
+ "git-widget-placeholder": "dev-abyss",
"last_opened_file_path": "/storage/Images/31/summary.json",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
@@ -104,7 +96,7 @@
"vue.rearranger.settings.migration": "true"
}
}
-
+
@@ -206,7 +198,9 @@
-
+
+
+
diff --git a/Abyss/Components/Services/UserService.cs b/Abyss/Components/Services/UserService.cs
index b45a6dc..946d196 100644
--- a/Abyss/Components/Services/UserService.cs
+++ b/Abyss/Components/Services/UserService.cs
@@ -116,7 +116,7 @@ public class UserService
{
if (_cache.TryGetValue(token, out string? userAndIp))
{
- if (ip != userAndIp?.Split('@')[1])
+ if (ip != userAndIp?.Split('@')[1] && ip != "127.0.0.1")
{
_logger.LogError($"Token used from another Host: {token}");
Destroy(token);
diff --git a/Abyss/Components/Tools/AbyssStream.cs b/Abyss/Components/Tools/AbyssStream.cs
index ffa7c85..cca67e5 100644
--- a/Abyss/Components/Tools/AbyssStream.cs
+++ b/Abyss/Components/Tools/AbyssStream.cs
@@ -236,7 +236,7 @@ namespace Abyss.Components.Tools
await ReadExactFromBaseAsync(header, 0, 4, cancellationToken).ConfigureAwait(false);
var payloadLen = (int)BinaryPrimitives.ReadUInt32BigEndian(header);
- if (payloadLen > 64 * 1024) throw new InvalidDataException("payload too big");
+ if (payloadLen > MaxPlaintextFrame) throw new InvalidDataException("payload too big");
if (payloadLen < AeadTagLen) throw new InvalidDataException("payload too small");
var payload = new byte[payloadLen];