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

Workaround for OSX accept bug #3368

Merged
merged 1 commit into from
Sep 20, 2021
Merged

Workaround for OSX accept bug #3368

merged 1 commit into from
Sep 20, 2021

Conversation

karknu
Copy link
Contributor

@karknu karknu commented Sep 20, 2021

There is a bug in accept for IPv6 sockets. Instead of returning -1
and setting errno to ECONNABORTED an invalid (>= 0) file descriptor
is returned, with the client address left unchanged. The uninitialized
client address causes the network package to throw a user error.

There is a bug in accept for IPv6 sockets. Instead of returning -1
and setting errno to ECONNABORTED an invalid (>= 0) file descriptor
is returned, with the client address left unchanged. The uninitialized
client address causes the network package to throw a user error.
@karknu karknu marked this pull request as ready for review September 20, 2021 14:28
@karknu karknu requested a review from coot as a code owner September 20, 2021 14:28
Copy link
Contributor

@coot coot left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@karknu
Copy link
Contributor Author

karknu commented Sep 20, 2021

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Sep 20, 2021

@iohk-bors iohk-bors bot merged commit 50673c9 into master Sep 20, 2021
@iohk-bors iohk-bors bot deleted the karknu/osx_accept branch September 20, 2021 17:41
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