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

Forwarder and authentication fixes #8

Merged
merged 5 commits into from
Mar 10, 2024
Merged

Forwarder and authentication fixes #8

merged 5 commits into from
Mar 10, 2024

Conversation

JamesWrigley
Copy link
Collaborator

No description provided.

This seems to fix a bug where ssh_channel_poll() won't execute callbacks on a
buffer that already has some data.
1. If the client socket has already been closed then drop any remaining data for
   it.
2. Call readavailable() in a try-catch to handle the client socket being closed
   while waiting to read from it.
- Store the `localinterface` in the struct.
- Implement some helper methods for it.
- Add support for `throw_on_error`.
- Ensure that authenticate() always returns AuthMethod_Interactive during
  keyboard-interactive auth, which simplifies clients a little.
@JamesWrigley JamesWrigley self-assigned this Mar 10, 2024
@JamesWrigley JamesWrigley merged commit 83e948a into master Mar 10, 2024
4 checks passed
@JamesWrigley JamesWrigley deleted the fixes branch March 10, 2024 20:25
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.

1 participant