Merge pull request #178 from Aulddays/master
Fixed send performance issue
This commit is contained in:
commit
a370654a32
@ -1116,7 +1116,7 @@ messageSet IMAPFolder::addMessage
|
|||||||
while (!is.eof())
|
while (!is.eof())
|
||||||
{
|
{
|
||||||
// Read some data from the input stream
|
// 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;
|
current += read;
|
||||||
|
|
||||||
// Put read data into socket output stream
|
// Put read data into socket output stream
|
||||||
|
Loading…
Reference in New Issue
Block a user