[asterisk-bugs] [Asterisk 0014287]: [patch] tcptls.c doesn't set correct remote_address
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jan 21 04:25:52 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14287
======================================================================
Reported By: jamesgolovich
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 14287
Category: Core/General
Reproducibility: always
Severity: trivial
Priority: normal
Status: new
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!): 169487
Request Review:
======================================================================
Date Submitted: 2009-01-20 13:28 CST
Last Modified: 2009-01-21 04:25 CST
======================================================================
Summary: [patch] tcptls.c doesn't set correct remote_address
Description:
With the recent changes to the tcptls.c code the local info was being
stored in the tcptls_session struct instead of the remote info for client
side work. This fixes that so the real info instead of 0.0.0.0/0 is shown
This also makes sip_tcp_locate find the correct session for clients.
I was digging through this looking for what was leaking fd's since I was
eventually running out of them since the client code was opening a new
session every time because sip_tcp_locate was never finding the same
session
======================================================================
----------------------------------------------------------------------
(0098306) svnbot (reporter) - 2009-01-21 04:25
http://bugs.digium.com/view.php?id=14287#c98306
----------------------------------------------------------------------
Repository: asterisk
Revision: 169620
U trunk/main/tcptls.c
------------------------------------------------------------------------
r169620 | russell | 2009-01-21 04:25:52 -0600 (Wed, 21 Jan 2009) | 10
lines
Fix a regression in TCP support.
This patch fixes a problem that caused chan_sip to think that every open
TCP session
was to a remote address of 0.0.0.0:0.
(closes issue http://bugs.digium.com/view.php?id=14287)
Reported by: jamesgolovich
Patches:
bug-14287.diff.txt uploaded by jamesgolovich (license 176)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=169620
Issue History
Date Modified Username Field Change
======================================================================
2009-01-21 04:25 svnbot Checkin
2009-01-21 04:25 svnbot Note Added: 0098306
======================================================================
More information about the asterisk-bugs
mailing list