[omniORB] Why do oneway requests hang on disconnected network?
Tuyen Chau
tchau at verano.com
Wed Nov 15 17:17:28 GMT 2006
Why do "oneway" requests hang, instead of return an COM_FAILURE
exception, when the network is disconnected? As part of testing our
product, we unplugged the network cable. We were surprised to find that
these oneway requests executed without errors for a good 5-10 minutes or
so, then they blocked indefinitely. If we replaced the network cable,
the calls eventually unblocked and everything worked again. Our best
guess at the moment is that there is a data buffer for outgoing requests
and the oneway requests block when the buffer is full.
Is there any way to alter this behavior and receive a COM_FAILURE
exception instead?
Our oneway requests are being used as "callbacks" when the server needs
to send events to its clients to notify them of changes in the system.
Best Regards,
Tuyen
More information about the omniORB-list
mailing list