changeset 207:a68d24defda8

Delay the destruction of the queues in sctps wrapper
author Sebastien Decugis <sdecugis@nict.go.jp>
date Mon, 15 Feb 2010 17:36:00 +0900
parents 8eda7c917fc6
children e1da03ba112f
files freeDiameter/sctps.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/freeDiameter/sctps.c	Fri Feb 12 18:39:46 2010 +0900
+++ b/freeDiameter/sctps.c	Mon Feb 15 17:36:00 2010 +0900
@@ -118,11 +118,6 @@
 		CHECK_FCT_DO( fd_event_send( Target_Queue(conn), FDEVP_CNX_ERROR, 0, NULL), /* continue or destroy everything? */);
 	}
 	
-	/* Since the demux thread terminates, we must trig an error for all decipher threads. We do this by destroying all demuxed FIFO queues */
-	for (strid = 0; strid < conn->cc_sctp_para.pairs; strid++) {
-		fd_event_destroy( &conn->cc_sctps_data.array[strid].raw_recv, free );
-	}
-	
 	goto out;
 }
 
"Welcome to our mercurial repository"