handled RC_EINTR returned by sys::waitonmux() in tcp-proxy.awk
This commit is contained in:
parent
015ed09c5a
commit
957fa97ebb
@ -217,6 +217,7 @@ function serve_connections (mx, ss, remoteaddr)
|
|||||||
|
|
||||||
if ((x = sys::waitonmux(mx, 3.10)) <= -1)
|
if ((x = sys::waitonmux(mx, 3.10)) <= -1)
|
||||||
{
|
{
|
||||||
|
if (x == sys::RC_EINTR) continue;
|
||||||
print "Error: problem while waiting on multiplexer -", sys::errmsg();
|
print "Error: problem while waiting on multiplexer -", sys::errmsg();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user