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)




git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@320562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.2
David Vossel 15 years ago
parent d1fbf03fdf
commit 57fb23f1aa

@ -510,6 +510,7 @@ void ast_tcptls_server_stop(struct ast_tcptls_session_args *desc)
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);

Loading…
Cancel
Save