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

Fix openbsd as client #209

Merged
merged 7 commits into from
Jan 4, 2025
Merged

Fix openbsd as client #209

merged 7 commits into from
Jan 4, 2025

Conversation

palainp
Copy link
Member

@palainp palainp commented Dec 31, 2024

As reported in #208 there is an issue with OpenBSD as sys-net. This PR fixes the issue with a minimal change to HEAD. I can squash the commits together (e.g. 1 for the modifications and 1 for the hashsum) to avoid multiple WIP commits, but as I referenced some in the issue, I keeped them so far.

dispatcher.ml Outdated Show resolved Hide resolved
Copy link
Member

@dinosaure dinosaure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For me it's ok if it's fix the initial issue reported. As far as a finalizer exists near the Lwt.async, I'm ok with that. The diffi is a bit noisy but it's ok.

If we look into details, we probably just need Lwt.catch. The initial issue is probably related to the fact that add_client raises an exception. Due to the fact that we did not catch it before this PR, the exception is propagated on top and fails our unikernel.

But let's fix it and release it as soon as we can 👍

@palainp
Copy link
Member Author

palainp commented Jan 4, 2025

Thank you !
I'll release in the current state, and we can update the code later :)

@palainp palainp merged commit ecb043e into mirage:main Jan 4, 2025
2 checks passed
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