handled RC_EINTR returned by sys::waitonmux() in tcp-proxy.awk
This commit is contained in:
		| @ -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; | ||||||
| 		} | 		} | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user