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

ci: handle EBUSY for udp #706

Merged
merged 1 commit into from
Jun 8, 2024
Merged

ci: handle EBUSY for udp #706

merged 1 commit into from
Jun 8, 2024

Conversation

zhaozg
Copy link
Member

@zhaozg zhaozg commented Jun 8, 2024

I have checked libuv/src/unix/udp.c and libuv/src/unix/darwin.c, can't point out the immediate cause of EBUSY when call uv_udp_set_source_membership.

I have check open, bind, setsockopt,..., the return code not mention EBUSY.

I checked https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/intro.2.html get some thing about EBUSY. That means Resource busy. An attempt to use a system resource which was in use at the time in a manner which would have conflicted with the request. So we do some retry should be safe and can fix and close #704.

@zhaozg zhaozg merged commit 572e67a into luvit:master Jun 8, 2024
14 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.

Flaky UDP test in CI
2 participants