Ignore:
Timestamp:
Dec 2, 2009, 8:03:27 PM (12 years ago)
Author:
charles
Message:

(trunk libT)
11:59 < klapaucjusz> charles: net.c line 314.
11:59 < klapaucjusz> Please change the value to 8192.
12:00 < charles> okay but why?
12:00 < klapaucjusz> I'm not sure it will trigger, but having space for 4 full-sized segments is always a good idea.
12:01 < klapaucjusz> It means you have a better chance of recovering from a lost segment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.c

    r9651 r9654  
    312312    /* seeds don't need much of a read buffer... */
    313313    if( isSeed ) {
    314         int n = 1024 * 2;
     314        int n = 8192;
    315315        if( setsockopt( s, SOL_SOCKET, SO_RCVBUF, &n, sizeof(n) ) )
    316316            tr_inf( "Unable to set SO_RCVBUF on socket %d: %s", s, tr_strerror( sockerrno ) );
Note: See TracChangeset for help on using the changeset viewer.