• 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
名称
最后提交
最后更新
..
apr 正在载入提交数据...
apr-util 正在载入提交数据...
broadvoice 正在载入提交数据...
curl 正在载入提交数据...
esl 正在载入提交数据...
freetdm 正在载入提交数据...
iksemel 正在载入提交数据...
ilbc 正在载入提交数据...
js 正在载入提交数据...
ldns 正在载入提交数据...
libcodec2 正在载入提交数据...
libdingaling 正在载入提交数据...
libedit 正在载入提交数据...
libg722_1 正在载入提交数据...
libks 正在载入提交数据...
libnatpmp 正在载入提交数据...
libscgi 正在载入提交数据...
libsndfile 正在载入提交数据...
libteletone 正在载入提交数据...
libtpl-1.5 正在载入提交数据...
libwebsockets 正在载入提交数据...
libzrtp 正在载入提交数据...
miniupnpc 正在载入提交数据...
openzap 正在载入提交数据...
pcre 正在载入提交数据...
portaudio 正在载入提交数据...
silk 正在载入提交数据...
sofia-sip 正在载入提交数据...
spandsp 正在载入提交数据...
speex 正在载入提交数据...
sqlite 正在载入提交数据...
srtp 正在载入提交数据...
stfu 正在载入提交数据...
tiff-4.0.2 正在载入提交数据...
unimrcp 正在载入提交数据...
win32 正在载入提交数据...
xmlrpc-c 正在载入提交数据...
yaml 正在载入提交数据...
.gitignore 正在载入提交数据...