diff options
author | Phil Mesnier <mesnier_p@ociweb.com> | 2006-09-25 23:10:36 +0000 |
---|---|---|
committer | Phil Mesnier <mesnier_p@ociweb.com> | 2006-09-25 23:10:36 +0000 |
commit | 052ce0ecc7b367f721b97b856b36e2f94acfb7ac (patch) | |
tree | 64ebc57fbe442ae08f51332a30fe99d51b970a75 | |
parent | 4c86207f709f699f7c9ff7c0cdc6f170f1f2e597 (diff) | |
download | ATCD-052ce0ecc7b367f721b97b856b36e2f94acfb7ac.tar.gz |
ChangeLog tag: Mon Sep 25 22:27:24 UTC 2006 Phil Mesnier <mesnier_p@ociweb.com>
-rw-r--r-- | TAO/ChangeLog | 19 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/HTIOP/HTIOP_Connection_Handler.cpp | 11 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Connection_Handler.cpp | 11 | ||||
-rw-r--r-- | TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.cpp | 11 | ||||
-rw-r--r-- | TAO/tao/Connection_Handler.cpp | 10 | ||||
-rw-r--r-- | TAO/tao/IIOP_Connection_Handler.cpp | 11 | ||||
-rw-r--r-- | TAO/tao/Strategies/DIOP_Connection_Handler.cpp | 11 | ||||
-rw-r--r-- | TAO/tao/Strategies/SCIOP_Connection_Handler.cpp | 11 | ||||
-rw-r--r-- | TAO/tao/Strategies/SHMIOP_Connection_Handler.cpp | 11 | ||||
-rw-r--r-- | TAO/tao/Strategies/UIOP_Connection_Handler.cpp | 11 |
10 files changed, 99 insertions, 18 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 650d9e20c5b..1d7b3101d93 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,20 @@ +Mon Sep 25 22:27:24 UTC 2006 Phil Mesnier <mesnier_p@ociweb.com> + + * orbsvcs/orbsvcs/HTIOP/HTIOP_Connection_Handler.cpp: + * orbsvcs/orbsvcs/PortableGroup/UIPMC_Connection_Handler.cpp: + * orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.cpp: + * tao/Connection_Handler.cpp: + * tao/IIOP_Connection_Handler.cpp: + * tao/Strategies/DIOP_Connection_Handler.cpp: + * tao/Strategies/SCIOP_Connection_Handler.cpp: + * tao/Strategies/SHMIOP_Connection_Handler.cpp: + * tao/Strategies/UIOP_Connection_Handler.cpp: + + Removed the call to release_os_resources call from the base + Connection_Handler destructor, and added code to each of the + protocol-specific CHs to report an error if release_os_resources + returns -1. + Mon Sep 25 17:09:58 UTC 2006 Edward R. Mulholland <emulholl@atl.lmco.com> * tests/Timeout/client.cpp: @@ -27,7 +44,7 @@ Fri Sep 22 21:29:26 UTC 2006 Jeff Parsons <j.parsons@vanderbilt.edu> in existing interfaces. Also modified the MPC file to inherit from valuetype.mpb, to accommodate the new DynValue and - DynValueBox interfaces. + DynValueBox interfaces. * tao/DynamicAny/DynValue_i.cpp: * tao/DynamicAny/DynValue_i.h: diff --git a/TAO/orbsvcs/orbsvcs/HTIOP/HTIOP_Connection_Handler.cpp b/TAO/orbsvcs/orbsvcs/HTIOP/HTIOP_Connection_Handler.cpp index 18d41ce1875..94eb2b878b7 100644 --- a/TAO/orbsvcs/orbsvcs/HTIOP/HTIOP_Connection_Handler.cpp +++ b/TAO/orbsvcs/orbsvcs/HTIOP/HTIOP_Connection_Handler.cpp @@ -55,7 +55,16 @@ TAO::HTIOP::Connection_Handler::Connection_Handler (TAO_ORB_Core *orb_core, TAO::HTIOP::Connection_Handler::~Connection_Handler (void) { delete this->transport (); - this->release_os_resources(); + int const result = + this->release_os_resources (); + + if (result == -1 && TAO_debug_level) + { + ACE_ERROR ((LM_ERROR, + ACE_TEXT("TAO (%P|%t) - HTIOP_Connection_Handler::") + ACE_TEXT("~HTIOP_Connection_Handler, ") + ACE_TEXT("release_os_resources() failed %m\n"))); + } } int diff --git a/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Connection_Handler.cpp b/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Connection_Handler.cpp index bc02f4600d1..688e8f26a0f 100644 --- a/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Connection_Handler.cpp +++ b/TAO/orbsvcs/orbsvcs/PortableGroup/UIPMC_Connection_Handler.cpp @@ -69,7 +69,16 @@ TAO_UIPMC_Connection_Handler::~TAO_UIPMC_Connection_Handler (void) this->udp_socket_.close (); delete this->transport (); - this->release_os_resources(); + int const result = + this->release_os_resources (); + + if (result == -1 && TAO_debug_level) + { + ACE_ERROR ((LM_ERROR, + ACE_TEXT("TAO (%P|%t) - UMPIC_Connection_Handler::") + ACE_TEXT("~UMPIC_Connection_Handler, ") + ACE_TEXT("release_os_resources() failed %m\n"))); + } } ACE_HANDLE diff --git a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.cpp b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.cpp index a26aeddfd9c..e1a7fe25cc6 100644 --- a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.cpp +++ b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.cpp @@ -61,7 +61,16 @@ TAO::SSLIOP::Connection_Handler::Connection_Handler ( TAO::SSLIOP::Connection_Handler::~Connection_Handler (void) { delete this->transport (); - this->release_os_resources(); + int const result = + this->release_os_resources (); + + if (result == -1 && TAO_debug_level) + { + ACE_ERROR ((LM_ERROR, + ACE_TEXT("TAO (%P|%t) - SSLIOP_Connection_Handler::") + ACE_TEXT("~SSLIOP_Connection_Handler, ") + ACE_TEXT("release_os_resources() failed %m\n"))); + } } int diff --git a/TAO/tao/Connection_Handler.cpp b/TAO/tao/Connection_Handler.cpp index 4b6c78baebb..08cc2fc2eb0 100644 --- a/TAO/tao/Connection_Handler.cpp +++ b/TAO/tao/Connection_Handler.cpp @@ -40,16 +40,6 @@ TAO_Connection_Handler::TAO_Connection_Handler (TAO_ORB_Core *orb_core) TAO_Connection_Handler::~TAO_Connection_Handler (void) { - int const result = - this->release_os_resources (); - - if (result == -1 && TAO_debug_level) - { - ACE_ERROR ((LM_ERROR, - "TAO (%P|%t) - Connection_Handler::~Connection_Handler," - "release_os_resources() failed %m\n")); - } - // @@ TODO Use auto_ptr<> delete this->lock_; diff --git a/TAO/tao/IIOP_Connection_Handler.cpp b/TAO/tao/IIOP_Connection_Handler.cpp index b910fc091e2..418a5dfd87b 100644 --- a/TAO/tao/IIOP_Connection_Handler.cpp +++ b/TAO/tao/IIOP_Connection_Handler.cpp @@ -63,7 +63,16 @@ TAO_IIOP_Connection_Handler::TAO_IIOP_Connection_Handler (TAO_ORB_Core *orb_core TAO_IIOP_Connection_Handler::~TAO_IIOP_Connection_Handler (void) { delete this->transport (); - this->release_os_resources(); + int const result = + this->release_os_resources (); + + if (result == -1 && TAO_debug_level) + { + ACE_ERROR ((LM_ERROR, + ACE_TEXT("TAO (%P|%t) - IIOP_Connection_Handler::") + ACE_TEXT("~IIOP_Connection_Handler, ") + ACE_TEXT("release_os_resources() failed %m\n"))); + } } /* Copy hook that copies over the concrete methods from this class diff --git a/TAO/tao/Strategies/DIOP_Connection_Handler.cpp b/TAO/tao/Strategies/DIOP_Connection_Handler.cpp index e2349d8affc..9cb798f02ae 100644 --- a/TAO/tao/Strategies/DIOP_Connection_Handler.cpp +++ b/TAO/tao/Strategies/DIOP_Connection_Handler.cpp @@ -59,7 +59,16 @@ TAO_DIOP_Connection_Handler::TAO_DIOP_Connection_Handler (TAO_ORB_Core *orb_core TAO_DIOP_Connection_Handler::~TAO_DIOP_Connection_Handler (void) { delete this->transport (); - this->release_os_resources(); + int const result = + this->release_os_resources (); + + if (result == -1 && TAO_debug_level) + { + ACE_ERROR ((LM_ERROR, + ACE_TEXT("TAO (%P|%t) - DIOP_Connection_Handler::") + ACE_TEXT("~DIOP_Connection_Handler, ") + ACE_TEXT("release_os_resources() failed %m\n"))); + } this->udp_socket_.close (); } diff --git a/TAO/tao/Strategies/SCIOP_Connection_Handler.cpp b/TAO/tao/Strategies/SCIOP_Connection_Handler.cpp index 58f99c36f83..33d34082a8d 100644 --- a/TAO/tao/Strategies/SCIOP_Connection_Handler.cpp +++ b/TAO/tao/Strategies/SCIOP_Connection_Handler.cpp @@ -73,7 +73,16 @@ TAO_SCIOP_Connection_Handler::TAO_SCIOP_Connection_Handler (TAO_ORB_Core *orb_co TAO_SCIOP_Connection_Handler::~TAO_SCIOP_Connection_Handler (void) { delete this->transport (); - this->release_os_resources(); + int const result = + this->release_os_resources (); + + if (result == -1 && TAO_debug_level) + { + ACE_ERROR ((LM_ERROR, + ACE_TEXT("TAO (%P|%t) - SCIOP_Connection_Handler::") + ACE_TEXT("~scIOP_Connection_Handler, ") + ACE_TEXT("release_os_resources() failed %m\n"))); + } } int diff --git a/TAO/tao/Strategies/SHMIOP_Connection_Handler.cpp b/TAO/tao/Strategies/SHMIOP_Connection_Handler.cpp index a584be7e368..7e62ea9c73c 100644 --- a/TAO/tao/Strategies/SHMIOP_Connection_Handler.cpp +++ b/TAO/tao/Strategies/SHMIOP_Connection_Handler.cpp @@ -56,6 +56,17 @@ TAO_SHMIOP_Connection_Handler::TAO_SHMIOP_Connection_Handler (TAO_ORB_Core *orb_ TAO_SHMIOP_Connection_Handler::~TAO_SHMIOP_Connection_Handler (void) { delete this->transport (); + int const result = + this->release_os_resources (); + + if (result == -1 && TAO_debug_level) + { + ACE_ERROR ((LM_ERROR, + ACE_TEXT("TAO (%P|%t) - SHMIOP_Connection_Handler::") + ACE_TEXT("~SHMIOP_Connection_Handler, ") + ACE_TEXT("release_os_resources() failed %m\n"))); + } + } int diff --git a/TAO/tao/Strategies/UIOP_Connection_Handler.cpp b/TAO/tao/Strategies/UIOP_Connection_Handler.cpp index 9e31d268ade..1e4a778e6df 100644 --- a/TAO/tao/Strategies/UIOP_Connection_Handler.cpp +++ b/TAO/tao/Strategies/UIOP_Connection_Handler.cpp @@ -56,7 +56,16 @@ TAO_UIOP_Connection_Handler::TAO_UIOP_Connection_Handler ( TAO_UIOP_Connection_Handler::~TAO_UIOP_Connection_Handler (void) { delete this->transport (); - this->release_os_resources(); + int const result = + this->release_os_resources (); + + if (result == -1 && TAO_debug_level) + { + ACE_ERROR ((LM_ERROR, + ACE_TEXT("TAO (%P|%t) - UIOP_Connection_Handler::") + ACE_TEXT("~UIOP_Connection_Handler, ") + ACE_TEXT("release_os_resources() failed %m\n"))); + } } int |