Mercurial > hg > freeDiameter
changeset 77:33d8bed6a9d7
Tuned a litlle bit the SCTP socket parameters
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Tue, 01 Dec 2009 14:30:29 +0900 |
parents | 42bd29c4128b |
children | a58f0757c06a |
files | freeDiameter/sctp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/freeDiameter/sctp.c Tue Dec 01 14:19:10 2009 +0900 +++ b/freeDiameter/sctp.c Tue Dec 01 14:30:29 2009 +0900 @@ -230,7 +230,7 @@ fd_log_debug( " sasoc_cookie_life : %u\n" , assoc.sasoc_cookie_life); } - assoc.sasoc_asocmaxrxt = 5; /* Maximum retransmission attempts: we want fast detection of errors */ + assoc.sasoc_asocmaxrxt = 8; /* Maximum retransmission attempts: we want fast detection of errors */ /* Set the option to the socket */ CHECK_SYS( setsockopt(sk, IPPROTO_SCTP, SCTP_ASSOCINFO, &assoc, sizeof(assoc)) );