mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
(libT) raise the size of the io buffer in recalculateHash() to 8 KiB
This commit is contained in:
parent
c2ddf1b2fe
commit
ae0201db0f
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ recalculateHash( const tr_torrent * tor,
|
|||
|
||||
while( bytesLeft )
|
||||
{
|
||||
uint8_t buf[2048];
|
||||
uint8_t buf[8192];
|
||||
const int len = MIN( bytesLeft, sizeof( buf ) );
|
||||
success = !tr_ioRead( tor, pieceIndex, offset, len, buf );
|
||||
if( !success )
|
||||
|
|
Loading…
Reference in a new issue