mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:01:41 +03: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
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue