diff options
-rw-r--r-- | lib/vssh/libssh.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/vssh/libssh.c b/lib/vssh/libssh.c index 957b938fc..ebe04a5f6 100644 --- a/lib/vssh/libssh.c +++ b/lib/vssh/libssh.c @@ -2063,6 +2063,9 @@ static int myssh_getsock(struct Curl_easy *data, if(conn->waitfor & KEEP_SEND) bitmap |= GETSOCK_WRITESOCK(FIRSTSOCKET); + if(!conn->waitfor) + bitmap |= GETSOCK_WRITESOCK(FIRSTSOCKET); + return bitmap; } |