From 516ba0564a7ff9502b4a1b4d4773eddb71b4a18f Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 28 Nov 2008 07:42:08 +0000 Subject: [PATCH] (libT) disable the so_sndbuf / so_rcvbuf code for now --- libtransmission/net.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libtransmission/net.c b/libtransmission/net.c index 4eb551557..ba40a250a 100644 --- a/libtransmission/net.c +++ b/libtransmission/net.c @@ -125,6 +125,7 @@ createSocket( int type ) static void setSndBuf( tr_session * session, int fd ) { +#if 0 if( fd >= 0 ) { const int sndbuf = session->so_sndbuf; @@ -132,6 +133,7 @@ setSndBuf( tr_session * session, int fd ) setsockopt( fd, SOL_SOCKET, SO_SNDBUF, &sndbuf, sizeof( sndbuf ) ); setsockopt( fd, SOL_SOCKET, SO_RCVBUF, &rcvbuf, sizeof( rcvbuf ) ); } +#endif } int -- 2.40.0