[omniORB] EAGAIN
Rick H. Wesson
wessorh@ar.com
Tue, 16 Jun 1998 10:13:03 -0700 (PDT)
i had to patch lib/omniORB2/tcpSocketMTfactory.cc at line 656
from
if (errno == EINTR)
to
if (errno == EINTR || errno == EAGAIN)
for the clients to work properly in snapshot_980410, cliients were
throwing COMM_FAILURE because ::recv would return EAGAIN, meaning
there was nothing to read on the socket, when omnoORB thought
there was something.
this only relates to Solaris 2.6 on sparc. now all the tests and
applications run fine.
thanks,
-rick