Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

connection check on wolfSSH_SFTP_STAT #707

Merged
merged 1 commit into from
Jun 18, 2024
Merged

Conversation

kojo1
Copy link
Contributor

@kojo1 kojo1 commented Jun 3, 2024

https://wolfssl.zendesk.com/agent/tickets/17964
Issue:
wolfSSH_SFTP_STAT doesn't check the server connection in it.
If it is disconnected after wolfSSH_connect, the API alone doesn't detect
the disconnection and return WS_SUCCESS.

The issue is only the case wolfSSH_SFTP_STAT alone is used. sftpclient uses wolfSSH_SFTP_STAT
with stream read/write so it detects the missing connection.

@kojo1 kojo1 requested a review from ejohnstown June 3, 2024 00:39
@ejohnstown ejohnstown merged commit e2aadb1 into wolfSSL:master Jun 18, 2024
24 checks passed
jefferyq2 pushed a commit to jefferyq2/wolfssh that referenced this pull request Sep 24, 2024
connection check on wolfSSH_SFTP_STAT
jefferyq2 pushed a commit to jefferyq2/wolfssh that referenced this pull request Oct 18, 2024
connection check on wolfSSH_SFTP_STAT
jefferyq2 pushed a commit to jefferyq2/wolfssh that referenced this pull request Oct 29, 2024
connection check on wolfSSH_SFTP_STAT
jefferyq2 pushed a commit to jefferyq2/wolfssh that referenced this pull request Oct 29, 2024
connection check on wolfSSH_SFTP_STAT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants