so, changing SSLSocket::accept to non-blocking when calling waitAccepted(0) seems to fix the problem, but it eats too much CPU until all connections are connected successfully.
void SSLSocket::accept(const Socket& listeningSocket) throw(SocketException) { Socket::accept(listeningSocket);
setBlocking(false); waitAccepted(0); setBlocking(true); }
so, changing SSLSocket::accept to non-blocking when calling waitAccepted(0) seems to fix the problem, but it eats too much CPU until all connections are connected successfully.
void SSLSocket: :accept( const Socket& listeningSocket) throw(SocketExc eption) { :accept( listeningSocket );
Socket:
setBlocking( false);
waitAccepted(0);
setBlocking(true);
}