← Commit list

154dff6acc

Viktor Szakats
Viktor Szakats
2026-01-29
SUCCESS Duration: 362s

Subject

tests/server/sockfilt: avoid possible endless loop on Windows

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

tests/server/sockfilt.c+2 -0
@@ -530,6 +530,8 @@ static DWORD WINAPI select_ws_wait_thread(void *lpParameter)
curlx_winapi_strerror(ret, buffer, sizeof(buffer));
logmsg("[select_ws_wait_thread] PeekNamedPipe error: (0x%08lx) - %s",
ret, buffer);
+ if(ret == ERROR_NOT_SUPPORTED) /* avoid potential endless loop */
+ break;
SleepEx(0, FALSE);
continue;
}