mirror of
https://github.com/GOSTSec/poolserver
synced 2025-01-14 08:47:53 +00:00
Tab2Space
This commit is contained in:
parent
7676468780
commit
50097be937
@ -388,10 +388,10 @@ namespace Stratum
|
||||
} else
|
||||
_recvMessage += c;
|
||||
}
|
||||
|
||||
// Check if message doesn't exceed maximum packet size
|
||||
if (_recvMessage.size() > MAX_PACKET)
|
||||
Disconnect();
|
||||
|
||||
// Check if message doesn't exceed maximum packet size
|
||||
if (_recvMessage.size() > MAX_PACKET)
|
||||
Disconnect();
|
||||
|
||||
StartRead();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user