Bugfix: sending empty session

This commit is contained in:
Martin Bauer
2019-09-17 20:23:34 +02:00
parent 2418fde01e
commit d0ba98f12e
5 changed files with 32 additions and 11 deletions

View File

@@ -245,7 +245,7 @@ private:
return;
}
if( sentBytes_ + sizeRequired < maxBytes_ ) {
if( sentBytes_ + sizeRequired <= maxBytes_ ) {
sendFunction();
sentBytes_ += sizeRequired;
} else {