sendFileBlock_V3

This commit is contained in:
2026-02-18 17:20:20 +03:00
parent ed7de8af4e
commit 594aa8311e
9 changed files with 342 additions and 72 deletions

View File

@@ -57,7 +57,8 @@ static const QString commandGetTasks = "GETTASKS";
static const QString commandeGetOfflineMessages = "GETOFFLINEMESSAGE";
//static quint64 fileBlockSize = 1460;
static quint64 sendFileBlockSize = 256000;
const int BLOCK_SIZE = 1024 * 1024; // Размер блока
static quint64 sendFileBlockSize = /*256000*/BLOCK_SIZE;
static quint64 readFileBlockSize = 65535;
//1025*250