mirror of
https://github.com/curl/curl.git
synced 2025-02-17 14:59:45 +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)
|
||||
bitmap |= GETSOCK_WRITESOCK(FIRSTSOCKET);
|
||||
|
||||
if(!conn->waitfor)
|
||||
bitmap |= GETSOCK_WRITESOCK(FIRSTSOCKET);
|
||||
|
||||
return bitmap;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user