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 cancelation of UNIX sockets and let a chance to run the listen loop if we craft our TCP stack xor UDP stack on our own way #466

Merged
merged 1 commit into from
Dec 17, 2021

Conversation

dinosaure
Copy link
Member

This is a probable fix about cancellation of sockets and a fix for #464. I would like a double check for an lwt expert (@talex5 ?) and @hannesm 👍!

@hannesm
Copy link
Member

hannesm commented Dec 15, 2021

ok, I suspect that for udp{v4,v6,v4v6}_socket.ml the same should be applied.

…op if we craft our TCP stack xor UDP stack on our own way
@dinosaure
Copy link
Member Author

I'm not sure if @talex5 is available to look on it but the PR seems ok to merge.

@dinosaure
Copy link
Member Author

Let's merge, I'm confident with this fix.

@dinosaure dinosaure merged commit 805d75c into mirage:main Dec 17, 2021
@dinosaure dinosaure deleted the fix-cancelation-of-sockets branch December 17, 2021 09:20
@hannesm
Copy link
Member

hannesm commented Dec 17, 2021

ok, cool. should I cut a release with this fix? or do you want to cut a release?

@dinosaure
Copy link
Member Author

I can cut the release by myself 👍 .

dinosaure added a commit to dinosaure/opam-repository that referenced this pull request Dec 17, 2021
CHANGES:

* Fix cancelation of Unix socket when we don't use `Stack.connect` (@dinosaure, @hannesm, mirage/mirage-tcpip#466)
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