mirror of
https://github.com/curl/curl.git
synced 2025-04-24 16:40:32 +08:00
libssh: unstick SFTP transfers when done event-based
Test 604 and 606 (at least). Closes #8490
This commit is contained in:
parent
5bb4d3ec06
commit
59c44c76de
@ -2063,6 +2063,9 @@ static int myssh_getsock(struct Curl_easy *data,
|
|||||||
if(conn->waitfor & KEEP_SEND)
|
if(conn->waitfor & KEEP_SEND)
|
||||||
bitmap |= GETSOCK_WRITESOCK(FIRSTSOCKET);
|
bitmap |= GETSOCK_WRITESOCK(FIRSTSOCKET);
|
||||||
|
|
||||||
|
if(!conn->waitfor)
|
||||||
|
bitmap |= GETSOCK_WRITESOCK(FIRSTSOCKET);
|
||||||
|
|
||||||
return bitmap;
|
return bitmap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user