freeswitch/libs/sofia-sip/libsofia-sip-ua
Travis Cross a0e9639a1f Handle Linux TCP keepalives better in Sofia
Sofia accepts a value for the TCP keepalive timeout interval via
TPTAG_KEEPALIVE, however it fails to use this value for the Linux
keepalive socket options TCP_KEEPIDLE and TCP_KEEPINTVL.  In fact, on
Linux it enables the sending of TCP keepalives even if tpp_keepalive
is set to zero which would disable Sofia's internal keepalive
mechanisms.  Sofia then uses a hard coded value of 30 seconds for
these keepalive intervals which affects battery life on mobile
devices.

With this commit we harmonize the sending of TCP keepalives on Linux
with other platforms by using the value from TPTAG_KEEPALIVE and not
enabling the sending of TCP keepalives at all if the value of the
parameter is zero.

FS-6104 --resolve
2014-01-18 15:46:56 +00:00
..
bnf Fri Jan 16 13:42:36 CST 2009 Pekka Pessi <first.last@nokia.com> 2009-02-11 17:09:44 +00:00
docs Thu Jan 15 09:33:08 CST 2009 Pekka Pessi <first.last@nokia.com> 2009-02-11 17:02:55 +00:00
features merge whitespace fixes from sofia-sip tree 2008-12-16 18:05:22 +00:00
http add parsers for web socket headers 2013-03-31 21:27:20 -05:00
ipt merge whitespace fixes from sofia-sip tree 2008-12-16 18:05:22 +00:00
iptsec modify sofia debug code to print file, line numbers and function name 2012-10-26 14:15:14 -05:00
msg fix gcc bug patch 2013-06-20 10:50:33 -05:00
nea modify sofia debug code to print file, line numbers and function name 2012-10-26 14:15:14 -05:00
nta FS-5780 --resolve 2013-09-12 00:10:28 +05:00
nth modify sofia debug code to print file, line numbers and function name 2012-10-26 14:15:14 -05:00
nua FS-6005 --resolve 2013-11-27 10:20:35 -06:00
sdp FS-6010 --resolve 2013-11-29 22:16:49 -06:00
sip FS-5819 fix typo 2013-09-27 22:23:23 -04:00
soa FS-5047 --resolve This seems to be a problem in libsofia, this should fix it. 2013-01-30 17:20:19 -06:00
sresolv modify sofia debug code to print file, line numbers and function name 2012-10-26 14:15:14 -05:00
stun add some missing macros to typically disabled stun code 2012-12-07 08:42:54 -06:00
su FS-6010 --resolve 2013-11-29 22:16:49 -06:00
tport Handle Linux TCP keepalives better in Sofia 2014-01-18 15:46:56 +00:00
url sofia-lib: More Fix for -Wunused-but-set-variable required compiler. (Might need to be ported back to sofia) 2011-04-23 20:33:19 -04:00
ChangeLog merge whitespace fixes from sofia-sip tree 2008-12-16 18:05:22 +00:00
Makefile.am Tue Jan 13 10:10:10 CST 2009 Pekka Pessi <first.last@nokia.com> 2009-02-11 16:56:03 +00:00
sofia.am fix openbsd sofia build 2010-04-02 01:15:18 -04:00