diff options
Diffstat (limited to 'TAO/tao/Strategies/UIOP_Connector.cpp')
-rw-r--r-- | TAO/tao/Strategies/UIOP_Connector.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/TAO/tao/Strategies/UIOP_Connector.cpp b/TAO/tao/Strategies/UIOP_Connector.cpp index af9993137b7..d87dd885654 100644 --- a/TAO/tao/Strategies/UIOP_Connector.cpp +++ b/TAO/tao/Strategies/UIOP_Connector.cpp @@ -201,13 +201,9 @@ TAO_UIOP_Connector::make_connection (TAO::Profile_Transport_Resolver *, "handle [%d]\n", svc_handler->get_handle ())); - // Wait for connection completion. No need to specify timeout - // to wait() since the correct timeout was passed to the - // Connector. The Connector will close the handler in the case - // of timeouts, so the event will complete (either success or - // failure) within timeout. result = - this->active_connect_strategy_->wait (svc_handler, 0); + this->active_connect_strategy_->wait (svc_handler, + max_wait_time); if (TAO_debug_level > 2) { |