summaryrefslogtreecommitdiff
path: root/TAO/tao/Transport_Cache_Manager.cpp
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2005-03-18 16:36:14 +0000
committerbala <balanatarajan@users.noreply.github.com>2005-03-18 16:36:14 +0000
commit700ddc43a5f0778d1db1ac1590b1e5093dcfddda (patch)
treed19b00e190b069cfd6171909d0162cf68e9117ab /TAO/tao/Transport_Cache_Manager.cpp
parentaee89763b5c955e471bd225c779fa76fd814e529 (diff)
downloadATCD-700ddc43a5f0778d1db1ac1590b1e5093dcfddda.tar.gz
ChangeLogTag:Fri Mar 18 10:34:48 2005 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Transport_Cache_Manager.cpp')
-rw-r--r--TAO/tao/Transport_Cache_Manager.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/TAO/tao/Transport_Cache_Manager.cpp b/TAO/tao/Transport_Cache_Manager.cpp
index 3c81ae877e1..c1c03f003dc 100644
--- a/TAO/tao/Transport_Cache_Manager.cpp
+++ b/TAO/tao/Transport_Cache_Manager.cpp
@@ -338,8 +338,13 @@ namespace TAO
{
// Get the transport to fill its associated connection's
// handler.
- (*iter).int_id_.transport ()->provide_blockable_handler (h);
- (*iter).int_id_.recycle_state (ENTRY_CLOSED);
+ bool retval =
+ (*iter).int_id_.transport ()->provide_blockable_handler (h);
+
+ // Do not mark the entry as closed if we don't have a
+ // blockable handler added
+ if (retval)
+ (*iter).int_id_.recycle_state (ENTRY_CLOSED);
}
return true;