1
0
mirror of https://github.com/moparisthebest/socat synced 2024-12-21 22:48:48 -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() ->");
return;
}
if (pid == xio_waitingfor) {
xio_hashappened = true;
Debug("xiosigaction_hasread() ->");
return;
}
} while (1);
}
if (xio_waitingfor == siginfo->si_pid) {