1
0
mirror of https://github.com/moparisthebest/socat synced 2024-12-22 06:58:47 -05:00

RECVFROM with FORK hung after the first packet - still on BSD

This commit is contained in:
Gerhard Rieger 2008-09-05 00:06:07 +02:00
parent 1924e17cf0
commit 31de787c8b

View File

@ -566,6 +566,11 @@ void xiosigaction_hasread(int signum, siginfo_t *siginfo, void *ucontext) {
Debug("xiosigaction_hasread() ->"); Debug("xiosigaction_hasread() ->");
return; return;
} }
if (pid == xio_waitingfor) {
xio_hashappened = true;
Debug("xiosigaction_hasread() ->");
return;
}
} while (1); } while (1);
} }
if (xio_waitingfor == siginfo->si_pid) { if (xio_waitingfor == siginfo->si_pid) {