[omniORB] Bug in tcpConnection::Recv and Send functions
Duncan Grisby
duncan at grisby.org
Tue May 12 21:33:33 UTC 2020
On Mon, 2020-05-11 at 17:27 +0200, Serguei Kolos wrote:
> > Does it work if you modify that code with the continue to clear
> > errno
> > first?
> >
> > if (tx == RC_SOCKET_ERROR) {
> > if (ERRNO == RC_EINTR) {
> > errno = 0;
> > continue;
> > }
>
> I have just tested this fix and can confirm that it cured the issue.
Thanks for confirming. I've checked in an equivalent fix to all the
places that had the issue. (Using a new SET_ERRNO macro because Windows
has to be different as usual.)
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list