summaryrefslogtreecommitdiff
path: root/ACE/ace/Acceptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Acceptor.cpp')
-rw-r--r--ACE/ace/Acceptor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/ace/Acceptor.cpp b/ACE/ace/Acceptor.cpp
index 7561f33f3eb..0b38c4113b9 100644
--- a/ACE/ace/Acceptor.cpp
+++ b/ACE/ace/Acceptor.cpp
@@ -294,7 +294,7 @@ ACE_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::accept_svc_handler
ACE_Errno_Guard error(errno);
// Close down handler to avoid memory leaks.
- svc_handler->close (1);
+ svc_handler->close (CLOSE_DURING_NEW_CONNECTION);
return -1;
}
@@ -334,7 +334,7 @@ ACE_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::activate_svc_handler
result = -1;
if (result == -1)
- svc_handler->close (0);
+ svc_handler->close (CLOSE_DURING_NEW_CONNECTION);
return result;
}
@@ -1046,7 +1046,7 @@ ACE_Oneshot_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::shared_accept
// Check whether we just timed out or whether we failed...
if (!(errno == EWOULDBLOCK || errno == ETIME))
// Close down handler to avoid memory leaks.
- svc_handler->close (0);
+ svc_handler->close (CLOSE_DURING_NEW_CONNECTION);
return -1;
}
// Activate the <svc_handler> using the designated concurrency