[asterisk-commits] oej: branch 1.6.2 r217369 - in /branches/1.6.2: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 9 05:58:38 CDT 2009


Author: oej
Date: Wed Sep  9 05:58:36 2009
New Revision: 217369

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=217369
Log:
Merged revisions 217368 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r217368 | oej | 2009-09-09 12:39:43 +0200 (Ons, 09 Sep 2009) | 2 lines

Not having any TLS session to write to is a serious XMIT_ERROR. 

........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/channels/chan_sip.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.2/channels/chan_sip.c?view=diff&rev=217369&r1=217368&r2=217369
==============================================================================
--- branches/1.6.2/channels/chan_sip.c (original)
+++ branches/1.6.2/channels/chan_sip.c Wed Sep  9 05:58:36 2009
@@ -3326,6 +3326,7 @@
 			res = ast_tcptls_server_write(p->socket.tcptls_session, data->str, len);
 		} else {
 			ast_debug(2, "No p->socket.tcptls_session->f len=%d\n", len);
+			return XMIT_ERROR;
 		}
 	} else {
 		ast_debug(2, "Socket type is TCP but no tcptls_session is present to write to\n");




More information about the asterisk-commits mailing list