mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-05 18:44:54 +00:00
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
…
…
…
…
…
…
…
…
Description
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unl
Multiple Licenses
268 MiB
Languages
C
64.4%
C++
21.8%
JavaScript
4.7%
Assembly
2%
Makefile
1%
Other
5.4%