Skip to content

Commit

Permalink
Revert changes from #960. (#976)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepurvis committed Feb 7, 2017
1 parent ef1d794 commit b709f1b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions utilities/xmlrpcpp/src/XmlRpcServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ unsigned
XmlRpcServer::handleEvent(unsigned)
{
acceptConnection();
if (getfd() == -1)
return XmlRpcDispatch::Exception;
return XmlRpcDispatch::ReadableEvent; // Continue to monitor this fd
}

Expand All @@ -156,7 +154,7 @@ XmlRpcServer::acceptConnection()
XmlRpcUtil::log(2, "XmlRpcServer::acceptConnection: socket %d", s);
if (s < 0)
{
this->close();
//this->close();
XmlRpcUtil::error("XmlRpcServer::acceptConnection: Could not accept connection (%s).", XmlRpcSocket::getErrorMsg().c_str());
}
else if ( ! XmlRpcSocket::setNonBlocking(s))
Expand Down

0 comments on commit b709f1b

Please sign in to comment.