diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-06-10 00:05:57 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-06-10 00:05:57 +0000 |
commit | dce18eea4d34de2ca417d8c4c0d88a6f082f6ae2 (patch) | |
tree | a3ee1293c39e7c51c4e8968f1dd19ed825f79ffa /ace/Acceptor.cpp | |
parent | 8cb6e6745ff6f7d4e084a92761055995be224f73 (diff) | |
download | ATCD-dce18eea4d34de2ca417d8c4c0d88a6f082f6ae2.tar.gz |
ChangeLogTag:Sat Jun 09 17:03:37 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'ace/Acceptor.cpp')
-rw-r--r-- | ace/Acceptor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/Acceptor.cpp b/ace/Acceptor.cpp index 7ad847eb71e..2e9afb3b31e 100644 --- a/ace/Acceptor.cpp +++ b/ace/Acceptor.cpp @@ -581,7 +581,8 @@ ACE_Strategy_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::open // socket handle is "ready" and when we call <accept>. During this // interval, the client can shutdown the connection, in which case, // the <accept> call can hang! - this->peer_acceptor_.enable (ACE_NONBLOCK); + if (this->accept_strategy_->acceptor ().enable (ACE_NONBLOCK) != 0) + return -1; return this->reactor ()->register_handler (this, |