diff options
author | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-12-04 02:32:43 +0000 |
---|---|---|
committer | bala <bala@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-12-04 02:32:43 +0000 |
commit | 3c9381c70e44f744b9c23bb2907f31012b8b5b5e (patch) | |
tree | a892e13a0e1ea18cfeb59b1acd52719cb35a6af6 /TAO/tao/LF_Connect_Strategy.cpp | |
parent | a2c7e092cffa8223172429262826cb7f856bad75 (diff) | |
download | ATCD-3c9381c70e44f744b9c23bb2907f31012b8b5b5e.tar.gz |
ChangeLogTag: Tue Dec 3 21:27:52 2002 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/LF_Connect_Strategy.cpp')
-rw-r--r-- | TAO/tao/LF_Connect_Strategy.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
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; -} |