freeswitch/libs/sofia-sip/libsofia-sip-ua/tport
Travis Cross 1bf17857c9 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:49:01 +00:00
..
sofia-sip Add mechanism to set OpenSSL session timeout 2012-06-11 21:46:05 +00:00
ChangeLog merge whitespace fixes from sofia-sip tree 2008-12-16 18:05:22 +00:00
Doxyfile.in switch doxygen generation in sofia-sip around to use configure generated files. This should avoid some problems with warnings and errors when builing the manpages. You will probably need to autoreconf and configure sofia-sip for this 2007-04-19 22:28:01 +00:00
Makefile.am merge whitespace fixes from sofia-sip tree 2008-12-16 18:05:22 +00:00
agent.pem merge darcs tree 2007-09-19 16:24:40 +00:00
cafile.pem add sofia-sip 1.12.4 (plus some patches through 12/21/2006) to in tree libs 2006-12-21 06:30:28 +00:00
certificates-update merge darcs tree 2007-09-19 16:24:40 +00:00
certificates.html add sofia-sip 1.12.4 (plus some patches through 12/21/2006) to in tree libs 2006-12-21 06:30:28 +00:00
make_node_cert.pl add sofia-sip 1.12.4 (plus some patches through 12/21/2006) to in tree libs 2006-12-21 06:30:28 +00:00
make_root_cert.pl add sofia-sip 1.12.4 (plus some patches through 12/21/2006) to in tree libs 2006-12-21 06:30:28 +00:00
make_test_certs.sh FSBUILD-249 2010-02-23 22:56:54 +00:00
test_tport.c Tue Mar 3 07:56:30 CST 2009 Pekka Pessi <first.last@nokia.com> 2009-03-03 17:19:09 +00:00
tls_test_client.c merge whitespace fixes from sofia-sip tree 2008-12-16 18:05:22 +00:00
tls_test_server.c merge whitespace fixes from sofia-sip tree 2008-12-16 18:05:22 +00:00
tport.c FS-5819: don't assigne variable to itself 2013-09-30 13:29:04 -04:00
tport.docs merge whitespace fixes from sofia-sip tree 2008-12-16 18:05:22 +00:00
tport_internal.h add capture hooks to libsofia 2011-07-31 18:36:05 -05:00
tport_logging.c FS-3896 --resolve that sizeof was incorrect 2012-02-17 08:50:03 -06:00
tport_rand.c add sofia-sip 1.12.4 (plus some patches through 12/21/2006) to in tree libs 2006-12-21 06:30:28 +00:00
tport_sigcomp.c add capture hooks to libsofia 2011-07-31 18:36:05 -05:00
tport_stub_sigcomp.c Thu Jan 8 15:00:46 CST 2009 Pekka Pessi <first.last@nokia.com> 2009-02-11 16:50:52 +00:00
tport_stub_stun.c merge whitespace fixes from sofia-sip tree 2008-12-16 18:05:22 +00:00
tport_tag.c Add mechanism to set OpenSSL session timeout 2012-06-11 21:46:05 +00:00
tport_threadpool.c Wed Jun 3 12:25:19 CDT 2009 Pekka Pessi <first.last@nokia.com> 2009-06-25 18:43:54 +00:00
tport_tls.c FS-4452 --resolve 2013-03-06 12:58:30 -06:00
tport_tls.h Add mechanism to set OpenSSL session timeout 2012-06-11 21:46:05 +00:00
tport_tls_test.sh FSBUILD-249 2010-02-23 22:56:54 +00:00
tport_type_connect.c modify sofia debug code to print file, line numbers and function name 2012-10-26 14:15:14 -05:00
tport_type_sctp.c add capture hooks to libsofia 2011-07-31 18:36:05 -05:00
tport_type_stun.c 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
tport_type_tcp.c Handle Linux TCP keepalives better in Sofia 2014-01-18 15:49:01 +00:00
tport_type_tls.c Add mechanism to set OpenSSL session timeout 2012-06-11 21:46:05 +00:00
tport_type_udp.c add capture hooks to libsofia 2011-07-31 18:36:05 -05:00