[asterisk-bugs] [Asterisk 0014287]: [patch] tcptls.c doesn't set correct remote_address

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 20 13:28:28 CST 2009


The following issue has been SUBMITTED. 
====================================================================== 
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-20 13:28 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
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-20 13:28 jamesgolovich  New Issue                                    
2009-01-20 13:28 jamesgolovich  Asterisk Version          => SVN             
2009-01-20 13:28 jamesgolovich  Regression                => No              
2009-01-20 13:28 jamesgolovich  SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
2009-01-20 13:28 jamesgolovich  SVN Revision (number only!) => 169487          
======================================================================




More information about the asterisk-bugs mailing list