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

Test for both EAGAIN and EINPROGRESS for AF_UNIX sockets. #1262

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

michael-grunder
Copy link
Collaborator

Reading the manpage it seems like we only need to test for EAGAIN but testing for both seems more prudent since this may be subtly different on more esoteric kernels (SunOS, AIX, BSD, etc).

Also explicitly install openSSL3 on macOS.

Fixes #1260

@michael-grunder
Copy link
Collaborator Author

CI seems unstable on macOS. It doesn't seem related to the commit because I get random failures on master as well.

I will look into it though. It doesn't ever fail for me on a local mac.

Reading the manpage it seems like we only need to test for `EAGAIN` but
testing for both seems more prudent since this may be subtly different
on more esoteric kernels (SunOS, AIX, BSD, etc).

Fixes #1260
Copy link
Member

@yossigo yossigo left a comment

Choose a reason for hiding this comment

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

Hi @michael-grunder, did you actually manage to reproduce this?

@michael-grunder
Copy link
Collaborator Author

I wasn't able to replicate the EAGAIN vs EINPROGRESS issue, but if you mean the macOS CI issues, I was able to fix that.

@michael-grunder michael-grunder merged commit 329346b into master Aug 21, 2024
16 checks passed
@michael-grunder michael-grunder deleted the minor-af_unix-fix branch August 21, 2024 15:56
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.

API: redisContextConnectUnix has bug.
2 participants