Changeset 6900


Ignore:
Timestamp:
Oct 14, 2008, 5:24:59 AM (13 years ago)
Author:
charles
Message:

(libT) raise the size of the io buffer in recalculateHash() to 8 KiB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/inout.c

    r6896 r6900  
    258258    while( bytesLeft )
    259259    {
    260         uint8_t   buf[2048];
     260        uint8_t   buf[8192];
    261261        const int len = MIN( bytesLeft, sizeof( buf ) );
    262262        success = !tr_ioRead( tor, pieceIndex, offset, len, buf );
Note: See TracChangeset for help on using the changeset viewer.