• Travis Cross's avatar
    Handle Linux TCP keepalives better in Sofia · a0e9639a
    Travis Cross 提交于
    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
    a0e9639a
名称
最后提交
最后更新
..
docs 正在载入提交数据...
libsofia-sip-ua 正在载入提交数据...
libsofia-sip-ua-glib 正在载入提交数据...
m4 正在载入提交数据...
open_c 正在载入提交数据...
packages 正在载入提交数据...
rules 正在载入提交数据...
s2check 正在载入提交数据...
scripts 正在载入提交数据...
tests 正在载入提交数据...
utils 正在载入提交数据...
win32 正在载入提交数据...
.update 正在载入提交数据...
AUTHORS 正在载入提交数据...
COPYING 正在载入提交数据...
COPYRIGHTS 正在载入提交数据...
ChangeLog 正在载入提交数据...
ChangeLog.ext-trees 正在载入提交数据...
Makefile.am 正在载入提交数据...
README 正在载入提交数据...
README.developers 正在载入提交数据...
RELEASE 正在载入提交数据...
RELEASE.template 正在载入提交数据...
TODO 正在载入提交数据...
acinclude.m4 正在载入提交数据...
autoconf-all.cmd 正在载入提交数据...
autogen.sh 正在载入提交数据...
configure.ac 正在载入提交数据...
configure.gnu 正在载入提交数据...