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

unitctl: fixes for openssl and docker client #1440

Merged
merged 2 commits into from
Sep 24, 2024
Merged

Conversation

avahahn
Copy link
Contributor

@avahahn avahahn commented Sep 23, 2024

This PR contains commits to fix both #1439 and #1438.

The OpenSSL issue is solved by moving to hyper-rustls from hyper-tls.

The docker client error (hyper legacy client connect error) is solved by bumping the bollard library version and also just in case I have elaborated on the error print text.

Both issues were tested on Debian latest docker image (x86_64) as well as M1 (aarch64) OSX.
Help verifying on an aarch64 Linux box is welcome, but I expect similar results.

@thresheek
Copy link
Member

Does the move to hyper-rustls mean that the resulting binary will not be linked to openssl anymore?

@avahahn
Copy link
Contributor Author

avahahn commented Sep 23, 2024

Does the move to hyper-rustls mean that the resulting binary will not be linked to openssl anymore?

Yes. I verified this with ldd on x86_64.

Copy link
Contributor

@javorszky javorszky left a comment

Choose a reason for hiding this comment

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

Left 2 questions, more of a curiosity than anything else. The code looks good, implementation makes sense, builds locally on aarch64, lgtm!

tools/unitctl/unit-client-rs/src/unit_client.rs Outdated Show resolved Hide resolved
@avahahn avahahn merged commit ac90254 into nginx:master Sep 24, 2024
8 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.

3 participants