diff freeDiameter/p_cnx.c @ 43:2db15632a63d

Added a large part of connection establishment logic, to test
author Sebastien Decugis <sdecugis@nict.go.jp>
date Wed, 25 Nov 2009 19:07:09 +0900
parents d7535cf7bab5
children 204718b0fa54
line wrap: on
line diff
--- a/freeDiameter/p_cnx.c	Thu Nov 19 17:51:23 2009 +0900
+++ b/freeDiameter/p_cnx.c	Wed Nov 25 19:07:09 2009 +0900
@@ -245,6 +245,9 @@
 				fd_ep_filter(&peer->p_hdr.info.pi_endpoints, EP_FL_CONF);
 				return NULL;
 			} );
+	} else {
+		/* Prepare to receive the next message */
+		CHECK_FCT_DO( fd_cnx_start_clear(cnx, 0), goto fatal_error );
 	}
 	
 	/* Upon success, generate FDEVP_CNX_ESTABLISHED */
"Welcome to our mercurial repository"