Skip to content

Commit 8b9d55b

Browse files
authored
Merge pull request #161 from buccia85/#153_too_strict_namespace_when_connecting_eio_3
Fixes #153: ignores if connection response omits comma in message
2 parents 25372e7 + bfdbbe2 commit 8b9d55b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SocketIOClient/EioHandler/Eio3Handler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void Unpack(SocketIO io, string text)
5858
}
5959
else
6060
{
61-
if (text == io.Namespace)
61+
if (text == io.Namespace || text == io.Namespace.TrimEnd(','))
6262
{
6363
io.InvokeConnect();
6464
}

0 commit comments

Comments
 (0)