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