[svn-commits] dvossel: branch 1.6.2 r320562 - /branches/1.6.2/main/tcptls.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon May 23 11:15:32 CDT 2011


Author: dvossel
Date: Mon May 23 11:15:18 2011
New Revision: 320562

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=320562
Log:
Adds missing part to the ast_tcptls_server_start fails second attempt to bind patch.

(closes issue #19289)
Reported by: wdoekes
Patches: 
      issue19289_delay_old_address_setting_tcptls_2.patch uploaded by wdoekes (license 717)



Modified:
    branches/1.6.2/main/tcptls.c

Modified: branches/1.6.2/main/tcptls.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/tcptls.c?view=diff&rev=320562&r1=320561&r2=320562
==============================================================================
--- branches/1.6.2/main/tcptls.c (original)
+++ branches/1.6.2/main/tcptls.c Mon May 23 11:15:18 2011
@@ -510,6 +510,7 @@
 		pthread_cancel(desc->master);
 		pthread_kill(desc->master, SIGURG);
 		pthread_join(desc->master, NULL);
+		desc->master = AST_PTHREADT_NULL;
 	}
 	if (desc->accept_fd != -1)
 		close(desc->accept_fd);




More information about the svn-commits mailing list