mirror of
https://github.com/transmission/transmission
synced 2025-01-31 03:12:44 +00:00
(libT) disable the so_sndbuf / so_rcvbuf code for now
This commit is contained in:
parent
b46375fd8c
commit
516ba0564a
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue