summaryrefslogtreecommitdiff
path: root/ace/Connector.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-08-10 16:43:43 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-08-10 16:43:43 +0000
commitb992c0691fd5232ad7440aa12b8f792e109d3501 (patch)
tree9616ad0a23fac8bd19bde6ead6dfde3231d74323 /ace/Connector.cpp
parent2db5248fc8a5d2d80f624b386e6b821f1572ecf8 (diff)
downloadATCD-b992c0691fd5232ad7440aa12b8f792e109d3501.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Connector.cpp')
-rw-r--r--ace/Connector.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ace/Connector.cpp b/ace/Connector.cpp
index fe057d99016..c0acc8e2bd4 100644
--- a/ace/Connector.cpp
+++ b/ace/Connector.cpp
@@ -221,7 +221,9 @@ ACE_Connector<SH, PR_CO_2>::handle_timeout (const ACE_Time_Value &tv,
SH *sh = ast->svc_handler ();
// Forward to the SVC_HANDLER the <arg> that was passed in as a
- // magic cookie during ACE_Connector::connect().
+ // magic cookie during ACE_Connector::connect(). This gives the
+ // SVC_HANDLER an opportunity to take corrective action (e.g.,
+ // wait a few milliseconds and try to reconnect again.
if (sh->handle_timeout (tv, ast->arg ()) == -1)
sh->handle_close (sh->get_handle (), ACE_Event_Handler::TIMER_MASK);