Core/Networking: Cnat do resize inside of reset. header buffer still needs to be read later.
This commit is contained in:
@@ -34,7 +34,6 @@ namespace Framework.IO
|
|||||||
|
|
||||||
public void Reset()
|
public void Reset()
|
||||||
{
|
{
|
||||||
Resize(0);
|
|
||||||
_wpos = 0;
|
_wpos = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -175,6 +175,7 @@ namespace Game.Networking
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_packetBuffer.Resize(0);
|
||||||
_packetBuffer.Reset();
|
_packetBuffer.Reset();
|
||||||
HandleSendAuthSession();
|
HandleSendAuthSession();
|
||||||
AsyncRead();
|
AsyncRead();
|
||||||
|
|||||||
Reference in New Issue
Block a user