← Commit list

7d09426187

Viktor Szakats
Viktor Szakats
2026-06-15
SUCCESS Duration: 186s

Subject

servers: accept `unlink()` failing due to the file missing

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/util.c+1 -1
@@ -711,7 +711,7 @@ int bind_unix_socket(curl_socket_t sock, const char *unix_socket,
}
#endif
/* dead socket, cleanup and retry bind */
- if(unlink(unix_socket)) {
+ if(unlink(unix_socket) && errno != ENOENT) {
logmsg("Error binding socket, failed to unlink %s: %d (%s)", unix_socket,
errno, curlx_strerror(errno, errbuf, sizeof(errbuf)));
return -1;