mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 23:42:34 +00:00
RECVFROM with FORK hung after the first packet - still on BSD
This commit is contained in:
parent
1924e17cf0
commit
31de787c8b
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue