We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c998efc commit 8a8ee95Copy full SHA for 8a8ee95
examples/echoserver/echoserver.c
@@ -1336,7 +1336,7 @@ static int sftp_worker(thread_ctx_t* threadCtx)
1336
error == WS_CHAN_RXD || error == WS_REKEYING ||
1337
error == WS_WINDOW_FULL)
1338
ret = error;
1339
- if (error == WS_WANT_WRITE && wolfSSH_SFTP_PendingSend(ssh)) {
+ if (error == WS_WANT_WRITE || wolfSSH_SFTP_PendingSend(ssh)) {
1340
continue; /* no need to spend time attempting to pull data
1341
* if there is still pending sends */
1342
}
0 commit comments