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:
parent
1924e17cf0
commit
31de787c8b
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user