← Commit list

e47b6e657a

Daniel Stenberg
Daniel Stenberg
2026-03-06
SUCCESS Duration: 263s

Subject

socketpair: clear 'err' when retrying due to EINTR

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 →

lib/socketpair.c+1 -0
@@ -317,6 +317,7 @@ int Curl_wakeup_signal(curl_socket_t socks[2])
#endif
while(1) {
+ err = 0;
if(wakeup_write(socks[1], buf, sizeof(buf)) < 0) {
err = SOCKERRNO;
#ifdef USE_WINSOCK