[asterisk-bugs] [Asterisk 0015343]: [patch] lock in sip_tcp_helper_thread

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Aug 28 18:40:13 CDT 2009


The following issue is now READY FOR TESTING. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15343 
====================================================================== 
Reported By:                pj
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15343
Category:                   Channels/chan_sip/TCP-TLS
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 200254 
Request Review:              
====================================================================== 
Date Submitted:             2009-06-17 06:17 CDT
Last Modified:              2009-08-28 18:40 CDT
====================================================================== 
Summary:                    [patch] lock in sip_tcp_helper_thread
Description: 
Asterisk locked out during normal sip call processing. It seems, that bug
is in sip/tcp handling (one peer used sip over tcp when this lock
happened).

====================================================================== 

---------------------------------------------------------------------- 
 (0109808) tilghman (administrator) - 2009-08-28 18:40
 https://issues.asterisk.org/view.php?id=15343#c109808 
---------------------------------------------------------------------- 
This should fix it.  I think the problem is that the SSL layer may need to
do renegotiation, and when that happens, SSL_read and SSL_write may return
errors indefinitely.  Therefore, the underlying implementation of the FILE
pointer needs to have visibility to the locking (and, in fact, control the
locking). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-28 18:40 tilghman       Note Added: 0109808                          
2009-08-28 18:40 tilghman       Status                   assigned => ready for
testing
======================================================================




More information about the asterisk-bugs mailing list