meier/tcpFix #23

Merged
muellerr merged 2 commits from meier/tcpFix into eive/develop 2021-10-09 13:28:49 +02:00
Showing only changes of commit a578f0390b - Show all commits

View File

@ -168,7 +168,10 @@ void TcpTmTcServer::handleServerOperation(socket_t& connSocket) {
tcpConfig.tcpFlags
);
if(retval == 0) {
// Client closed connection
size_t availableReadData = ringBuffer.getAvailableReadData();
if(availableReadData > lastRingBufferSize) {
handleTcRingBufferData(availableReadData);
}
return;
}
else if(retval > 0) {