← Commit list

5090cce01c

Daniel Stenberg
Daniel Stenberg
2025-10-06
SUCCESS Duration: 200s

Subject

libssh2: fix return code for EAGAIN

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/vssh/libssh2.c+1 -1
@@ -2574,7 +2574,7 @@ static CURLcode ssh_state_session_disconnect(struct Curl_easy *data,
if(sshc->ssh_channel) {
rc = libssh2_channel_free(sshc->ssh_channel);
if(rc == LIBSSH2_ERROR_EAGAIN)
- return CURLE_OK;
+ return CURLE_AGAIN;
if(rc < 0) {
char *err_msg = NULL;