]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_transport_management: Kill idle TCP connections. 01/2601/1
authorMark Michelson <mmichelson@digium.com>
Tue, 8 Mar 2016 18:12:16 +0000 (12:12 -0600)
committerMark Michelson <mmichelson@digium.com>
Thu, 14 Apr 2016 12:35:45 +0000 (07:35 -0500)
commit023d2936ba757e1bbcc6486e0c1e38ae38daf97f
tree3eef21bf43cb00f423b139c5eb4d09551ccb0374
parent0b1fe6b0ee8294333d9b03d11cf20f7ad32eca12
res_pjsip_transport_management: Kill idle TCP connections.

"Idle" here means that someone connects to us and does not send a SIP
request. PJProject will not automatically time out such connections, so
it's up to Asterisk to do it instead.

When we receive an incoming TCP connection, we will start a timer
(equivalent to transaction timer D) waiting to receive an incoming
request. If we do not receive a request in that timeframe, then we will
shut down the TCP connection.

ASTERISK-25796 #close
Reported by George Joseph

AST-2016-005

Change-Id: I7b0d303e5d140d0ccaf2f7af562071e3d1130ac6
res/res_pjsip_transport_management.c