freeswitch/libs/sofia-sip/libsofia-sip-ua/tport
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
..
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
Makefile.am add websocket transport to sofia 2013-03-31 21:27:20 -05:00
agent.pem
cafile.pem
certificates-update
certificates.html
make_node_cert.pl
make_root_cert.pl
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-5911 --resolve 2013-10-25 23:51:43 +05:00
tport.docs merge whitespace fixes from sofia-sip tree 2008-12-16 18:05:22 +00:00
tport_internal.h add websocket transport to sofia 2013-03-31 21:27:20 -05:00
tport_logging.c add websocket transport to sofia 2013-03-31 21:27:20 -05:00
tport_rand.c
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 working mo better 2013-03-31 21:27:20 -05:00
tport_tls.h working mo better 2013-03-31 21:27:20 -05: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:46:56 +00:00
tport_type_tls.c support tls dir options properly 2013-03-31 21:27:26 -05:00
tport_type_udp.c add capture hooks to libsofia 2011-07-31 18:36:05 -05:00
tport_type_ws.c override the default 30 minute timeout on tport connections for websockets 2013-09-04 04:24:53 +05:00
tport_ws.h tweak sip ws code to avoid double free 2013-06-26 12:43:54 -04:00
ws.c FS-5642 --resolve add back the ETIMEDOUT check, needed on Mac 2013-12-13 11:46:14 +08:00
ws.h windows fix compiler errors 2013-10-22 23:23:48 -05:00