[omniORB] Server hangs when client crashes

bjornw@fairplay.no bjornw@fairplay.no
02 Oct 1998 10:29:54 +0200


Hi there!

(I'm running the latest omniorb-snapshot on HPUX-10.20, with dce-threads)

When running two or more clients against one server, and one of the client
crashes, the server blocks.

The server implements one simple method like this:
query_result *
ServerFactory::Query(int id)
{
 // create a result
 return result;
}

When one of the client stops, it seems like the server blocks in the 
return-statement while trying to send to the client that recently crashed.

Does this mean that the server does not create a new thread per client-connection?
Or, better how can I prevent this from happening.

bjornw>