Mercurial > hg > freeDiameter
diff freeDiameter/cnxctx.c @ 223:85dc47afeac7
Cleanup termination
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Tue, 23 Feb 2010 15:09:48 +0900 |
parents | 5f2ce627db3c |
children | 80a7e65167c4 |
line wrap: on
line diff
--- a/freeDiameter/cnxctx.c Tue Feb 23 11:42:26 2010 +0900 +++ b/freeDiameter/cnxctx.c Tue Feb 23 15:09:48 2010 +0900 @@ -509,13 +509,14 @@ TRACE_ENTRY("%p", conn); CHECK_PARAMS_DO( conn, goto fatal ); - TRACE_DEBUG(FULL, "Connection (%d) CC_STATUS_ERROR set", conn->cc_socket); + TRACE_DEBUG(FULL, "CC_STATUS_ERROR set for socket %d (%s)", conn->cc_socket, conn->cc_id); /* Mark the error */ conn->cc_status |= CC_STATUS_ERROR; /* Report the error if not reported yet, and not closing */ if ((!(conn->cc_status & CC_STATUS_CLOSING )) && (!(conn->cc_status & CC_STATUS_SIGNALED ))) { + TRACE_DEBUG(FULL, "Sending FDEVP_CNX_ERROR event"); CHECK_FCT_DO( fd_event_send( Target_Queue(conn), FDEVP_CNX_ERROR, 0, NULL), goto fatal); conn->cc_status |= CC_STATUS_SIGNALED; }