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 f039af8 commit 4ecdb66Copy full SHA for 4ecdb66
src/ssh.c
@@ -1046,6 +1046,10 @@ int wolfSSH_shutdown(WOLFSSH* ssh)
1046
* response to SendChannelClose */
1047
if (channel != NULL && ret == WS_SUCCESS) {
1048
ret = wolfSSH_worker(ssh, NULL);
1049
+ if (ret == WS_CHAN_RXD) {
1050
+ /* received response */
1051
+ ret = WS_SUCCESS;
1052
+ }
1053
}
1054
1055
if (ssh != NULL && ssh->channelList == NULL) {
0 commit comments