Ignore:
Timestamp:
Jul 7, 2009, 1:18:53 AM (13 years ago)
Author:
charles
Message:

maybe 1024 is too stringent here

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-io.c

    r8765 r8789  
    269269
    270270    /* keep the iobuf's excess capacity from growing too large */
    271     if( buffer->totallen > ( EVBUFFER_LENGTH( buffer ) + 1024 ) ) {
     271    if( buffer->totallen > ( EVBUFFER_LENGTH( buffer ) + 4096 ) ) {
    272272        struct evbuffer * swap = evbuffer_new( );
    273273        evbuffer_add( swap, EVBUFFER_DATA( buffer ), EVBUFFER_LENGTH( buffer ) );
Note: See TracChangeset for help on using the changeset viewer.