-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Add workaround also for CURL 7.79.0. #15532
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
Open
psumbera
wants to merge
1
commit into
rust-lang:master
Choose a base branch
from
psumbera:curl-fix
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix!
Could you expand the commend a bit about what versions are bad on which platform?
And have we identified the root case about why 7.79.0 is bad? It would be ideal if it also mentioned in the comment like what we did for macOS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have exact root cause. I can just guess that it's the same (proxy is involved). Latest Solaris CBE release 11.4.81 has newer CURL 8.12.0 and there are no problems. Sooner or later
vmactions/solaris-vm
will start to use it anyway...There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does that version of Solaris build Cargo from scratch and not vendoring OpenSSL?
The official toolchain from rust-lang/rust, and the default dist build logic favors vendored-openssl. Also, why only
7.79.0
, but not7.80.0
or any other versions?If Solaris image also vendored OpenSSL, then this might be a red herring.
I don't want to like blocking the workaround for a perfect investigation, though we also don't want to downgrade people's crate download experience. We've spent an amount of time on the topic to eventually came out with this workaroud. To be on the same standard we might want to dig into this one bit more. See the previous efforts:
Look around these linked issues, some other projects also replicate our fix. We might want to be a bit more cautious on this. Or the fix could be conditioned on Solaris, if that sounds right?