Merge pull request #178 from Aulddays/master

Fixed send performance issue
This commit is contained in:
Vincent Richard 2017-08-18 21:12:45 +02:00 committed by GitHub
commit a370654a32

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