[Asterisk-code-review] res pjsip transport management: Kill idle TCP connections. (asterisk[13])

Mark Michelson asteriskteam at digium.com
Thu Apr 14 11:59:54 CDT 2016


Mark Michelson has uploaded a new patch set (#2).

Change subject: res_pjsip_transport_management: Kill idle TCP connections.
......................................................................

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
---
M res/res_pjsip_transport_management.c
1 file changed, 125 insertions(+), 46 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/99/2599/2
-- 
To view, visit https://gerrit.asterisk.org/2599
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I7b0d303e5d140d0ccaf2f7af562071e3d1130ac6
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019



More information about the asterisk-code-review mailing list