[OpenSIPS-Devel] SF.net SVN: opensips:[8760] trunk
Bogdan-Andrei Iancu
bogdan at opensips.org
Mon Mar 5 18:58:40 CET 2012
Revision: 8760
http://opensips.svn.sourceforge.net/opensips/?rev=8760&view=rev
Author: bogdan_iancu
Date: 2012-03-05 17:58:40 +0000 (Mon, 05 Mar 2012)
Log Message:
-----------
- added patch to provides TCP keepalive to OpenSIPS. During testing we found that if a TCP connection is kept idle on one direction for a long time some routers would half close it, so even if all clients usually send TCP keepalives it's also good to do it from the server side.
The patch adds 4 new core configuration options:
- tcp_keepalive (boolean): enable / disable TCP keepalive
- tcp_keepcount: number of keepalives to send before closing the connection (Linux only)
- tcp_keepidle: amount of time before OpenSIPS will start to send keepalives if the connection is idle (Linux only)
- tcp_keepinterval: interval between keepalive probes, if the previous one failed (Linux only)
Provided by Saul Ibarra Corretge
Closes patch ID 3478961
Modified Paths:
--------------
trunk/cfg.lex
trunk/cfg.y
trunk/globals.h
trunk/tcp_conn.h
trunk/tcp_main.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Devel
mailing list