[Fix] Socket quick fix (#157)

This commit is contained in:
HitPanda
2023-06-08 16:53:11 +03:00
committed by Aviu00
parent 65a471cda8
commit 446bde3af0

View File

@@ -88,7 +88,7 @@ public sealed class UtkaTCPSession : TcpSession
if (i + 1 == handles.Length && !BufferCahce.EndsWith("&%^sep^%&"))
continue;
if (handle.Length == 0 || !handle.StartsWith("{\"") || !handle.EndsWith("\"}"))
if (handle.Length == 0 || !handle.StartsWith("{") || !handle.EndsWith("}"))
continue;
var pos = BufferCahce.IndexOf(handle);