Ignore:
Timestamp:
Nov 24, 2008, 4:21:23 AM (13 years ago)
Author:
charles
Message:

(libT) #1468: another stab at getting the peer transfer speeds both fast and a little more consistent.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/net.c

    r7133 r7147  
    129129    {
    130130        const int sndbuf = session->so_sndbuf;
     131        const int rcvbuf = session->so_rcvbuf;
    131132        setsockopt( fd, SOL_SOCKET, SO_SNDBUF, &sndbuf, sizeof( sndbuf ) );
     133        setsockopt( fd, SOL_SOCKET, SO_RCVBUF, &rcvbuf, sizeof( rcvbuf ) );
    132134    }
    133135}
Note: See TracChangeset for help on using the changeset viewer.