mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-14 17:18:32 -05:00
preemptive checks
This commit is contained in:
@ -435,6 +435,7 @@ namespace IW4MAdmin.Application.RCon
|
||||
if (bufferSpaceAvailable >= 0 )
|
||||
{
|
||||
_log.LogWarning("Not enough buffer space to store incoming data {bytesNeeded} additional bytes required", bufferSpaceAvailable);
|
||||
continue;
|
||||
}
|
||||
|
||||
state.ReceiveEventArgs.SetBuffer(state.ReceiveBuffer, totalBytesTransferred, sock.Available);
|
||||
|
Reference in New Issue
Block a user