Mercurial > hg > freeDiameter
diff libfdcore/sctp.c @ 1197:823829bf1037
Couple of typos in the comments
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Tue, 11 Jun 2013 17:53:35 +0800 |
parents | 56c36d1007b4 |
children | 8c4dd4b693c6 |
line wrap: on
line diff
--- a/libfdcore/sctp.c Tue Jun 11 14:46:58 2013 +0800 +++ b/libfdcore/sctp.c Tue Jun 11 17:53:35 2013 +0800 @@ -250,7 +250,7 @@ fd_log_debug( "Def SCTP_NODELAY value : %s", nodelay ? "true" : "false"); } - nodelay = 1; /* We turn ON the Nagle algorithm (probably the default already), since we might have several messages to send through the same proxy (not the same session). */ + nodelay = 1; /* We turn ON to disable the Nagle algorithm, so that packets are sent ASAP. */ /* Set the option to the socket */ CHECK_SYS( setsockopt(sk, IPPROTO_SCTP, SCTP_NODELAY, &nodelay, sizeof(nodelay)) );