From e5c171704e79ccb361bf6bbd51ecece19ec5df2f Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 9 Sep 2025 16:28:56 +0000 Subject: Catch obscure busyloop in stls_run --- src/stls/stls_run.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/stls') diff --git a/src/stls/stls_run.c b/src/stls/stls_run.c index e56d123..ae9af51 100644 --- a/src/stls/stls_run.c +++ b/src/stls/stls_run.c @@ -178,6 +178,11 @@ void stls_run (struct tls *ctx, int const *fds, uint32_t options, unsigned int v fd_close(x[1].fd) ; x[1].fd = -1 ; } + else if (x[1].revents & IOPAUSE_EXCEPT) + { + errno = EIO ; + strerr_diefu1sys(111, "iopause for writing on local") ; + } } -- cgit v1.3.1