(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
This commit is contained in:
parent
560ecbe9bb
commit
d1935a4812
|
@ -311,7 +311,7 @@ tr_netOpenTCP( tr_session * session,
|
|||
|
||||
/* seeds don't need much of a read buffer... */
|
||||
if( isSeed ) {
|
||||
int n = 1024 * 2;
|
||||
int n = 8192;
|
||||
if( setsockopt( s, SOL_SOCKET, SO_RCVBUF, &n, sizeof(n) ) )
|
||||
tr_inf( "Unable to set SO_RCVBUF on socket %d: %s", s, tr_strerror( sockerrno ) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue