Fixes a crash when trying to login with wrong version launcher or no launcher. Caused bnetserver to enter a infinite loop.
This commit is contained in:
@@ -25,12 +25,6 @@ namespace BNetServer.Networking
|
||||
|
||||
public async override void ReadHandler(byte[] data, int receivedLength)
|
||||
{
|
||||
if (receivedLength == 0)
|
||||
{
|
||||
CloseSocket();
|
||||
return;
|
||||
}
|
||||
|
||||
var httpRequest = HttpHelper.ParseRequest(data, receivedLength);
|
||||
if (httpRequest == null)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user