From 3c9381c70e44f744b9c23bb2907f31012b8b5b5e Mon Sep 17 00:00:00 2001 From: bala Date: Wed, 4 Dec 2002 02:32:43 +0000 Subject: ChangeLogTag: Tue Dec 3 21:27:52 2002 Balachandran Natarajan --- TAO/tao/LF_Connect_Strategy.cpp | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'TAO/tao/LF_Connect_Strategy.cpp') diff --git a/TAO/tao/LF_Connect_Strategy.cpp b/TAO/tao/LF_Connect_Strategy.cpp index ddd3762cf84..e20cc3b3aa0 100644 --- a/TAO/tao/LF_Connect_Strategy.cpp +++ b/TAO/tao/LF_Connect_Strategy.cpp @@ -92,27 +92,3 @@ TAO_LF_Connect_Strategy::wait (TAO_Connection_Handler *ch, return result; } - - - - -int -TAO_LF_Connect_Strategy::post_failed_connect (TAO_Connection_Handler *ch) -{ - int ref = 0; - if (!ch->successful ()) - { - // We need to do this here else we will leak memory. We cannot call - // close_connection () for the following reasons - // . the event_handlers get_handle () will return could return - // an ACE_INVALID_HANDLE is things havent been shutdown - // properly. - // . We cannot relax the conditions since the conditions are right - // for other natural cases ie. LF - // Hence the blocked startegy will have to take of things itself. - ch->transport (0); - ref = ch->decr_refcount (); - } - - return ref; -} -- cgit v1.2.1