Fixed send performance issue

This commit is contained in:
Aulddays 2017-08-18 17:15:36 +08:00
parent 243efb267f
commit c6cf359ffc

View File

@ -1116,7 +1116,7 @@ messageSet IMAPFolder::addMessage
while (!is.eof())
{
// Read some data from the input stream
const size_t read = is.read(buffer, sizeof(buffer));
const size_t read = is.read(buffer, blockSize);
current += read;
// Put read data into socket output stream