summaryrefslogtreecommitdiff
path: root/ACE/ace/Strategies_T.cpp
diff options
context:
space:
mode:
authorelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-05-20 17:56:02 +0000
committerelliott_c <elliott_c@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-05-20 17:56:02 +0000
commit71db4dc29bf32c70898c384281ac08b083b67c03 (patch)
tree84c09b3da2b75e5b43727a94e73a6b0878583300 /ACE/ace/Strategies_T.cpp
parent7f0cb30874c0b85fcd602c88ec1b3a2d0fd621fe (diff)
downloadATCD-71db4dc29bf32c70898c384281ac08b083b67c03.tar.gz
ChangeLogTag: Tue May 20 17:55:39 UTC 2008 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'ACE/ace/Strategies_T.cpp')
-rw-r--r--ACE/ace/Strategies_T.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/ACE/ace/Strategies_T.cpp b/ACE/ace/Strategies_T.cpp
index aa3b607d52e..a3845f33237 100644
--- a/ACE/ace/Strategies_T.cpp
+++ b/ACE/ace/Strategies_T.cpp
@@ -17,6 +17,7 @@
#include "ace/OS_NS_dlfcn.h"
#include "ace/OS_NS_string.h"
#include "ace/OS_Errno.h"
+#include "ace/Svc_Handler.h"
#if defined (ACE_OPENVMS)
# include "ace/Lib_Find.h"
#endif
@@ -197,7 +198,7 @@ ACE_Concurrency_Strategy<SVC_HANDLER>::activate_svc_handler (SVC_HANDLER *svc_ha
result = -1;
if (result == -1)
- svc_handler->close (0);
+ svc_handler->close (CLOSE_DURING_NEW_CONNECTION);
return result;
}
@@ -252,7 +253,7 @@ ACE_Reactive_Strategy<SVC_HANDLER>::activate_svc_handler (SVC_HANDLER *svc_handl
return this->inherited::activate_svc_handler (svc_handler, arg);
if (result == -1)
- svc_handler->close (0);
+ svc_handler->close (CLOSE_DURING_NEW_CONNECTION);
return result;
}
@@ -354,7 +355,7 @@ ACE_Accept_Strategy<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::accept_svc_handler
ACE_Errno_Guard error(errno);
// Close down handler to avoid memory leaks.
- svc_handler->close (0);
+ svc_handler->close (CLOSE_DURING_NEW_CONNECTION);
return -1;
}
@@ -777,7 +778,7 @@ ACE_Cached_Connect_Strategy<SVC_HANDLER, ACE_PEER_CONNECTOR_2, MUTEX>::find_or_c
entry) == -1)
{
// Close the svc handler.
- potential_handler->close (0);
+ potential_handler->close (CLOSE_DURING_NEW_CONNECTION);
return -1;
}