summaryrefslogtreecommitdiff
path: root/include/asterisk/utils.h
diff options
context:
space:
mode:
authorJonathan Rose <jrose@digium.com>2015-12-10 11:44:03 -0600
committerJonathan Rose <jrose@digium.com>2015-12-10 14:13:42 -0600
commit14b41115e363766633aec67f67e9764521b74f5c (patch)
treed1591acabaf6fad8a5d970743924b2e6385c384e /include/asterisk/utils.h
parentc344fb02f4ab82c735159da1d6029ea1e76b5bf7 (diff)
chan_sip: Add TCP/TLS keepalive to TCP/TLS server
Adds the TCP Keep Alive option to TCP and TLS server sockets. Previously this option was only being set on session sockets. http://www.tldp.org/HOWTO/html_single/TCP-Keepalive-HOWTO/ According to the link above, the SO_KEEPALIVE option is useful for knowing when a TCP connected endpoint has severed communication without indicating it or has become unreachable for some reason. Without this patch, keep alive is not set on the socket listening for incoming TCP sessions and in Komatsu's report this resulted in the thread listening for TCP becoming stuck in a waiting state. ASTERISK-25364 #close Reported by: Hiroaki Komatsu Change-Id: I7ed7bcfa982b367dc64b4b73fbd962da49b9af36
Diffstat (limited to 'include/asterisk/utils.h')
0 files changed, 0 insertions, 0 deletions