mirror of https://github.com/asterisk/asterisk
https://origsvn.digium.com/svn/asterisk/trunk ........ r189771 | dvossel | 2009-04-21 15:28:37 -0500 (Tue, 21 Apr 2009) | 11 lines Fixes segfault when switching UDP to TCP in sip.conf after reload. If transport in sip.conf is switched from UDP to TCP, Asterisk segfaults right after issuing a sip reload. The problem is the socket type is changed to TCP but the fd may still be present for UDP. Later, when the TCP session should be created or set using an existing one, it isn't because the old file descriptor is still present. Now every time transport is changed during a sip.conf reload, the file descriptor is set to -1, signifying it must be created or found. (closes issue #14727) Reported by: pj Tested by: dvossel Review: http://reviewboard.digium.com/r/229/ ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@189775 65c4cc65-6c06-0410-ace0-fbb531ad65f31.6.2
parent
9ed85b0045
commit
b30286fe5c
Loading…
Reference in new issue