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

Fix #408: Support proxies #440

Merged
merged 1 commit into from
Jan 23, 2023
Merged

Fix #408: Support proxies #440

merged 1 commit into from
Jan 23, 2023

Conversation

skyred
Copy link
Contributor

@skyred skyred commented Jan 20, 2023

See #408

Motivation:

Composer supports socks5 proxy, we want the same support in patching.

Approach:

We are currently using a streamer RemoteFilesystem.php, which doesn't support socks5 or socks5h because of protocol limitation. However, we don't really need a streamer, we simply want to download the patch file and move on. So, using a downloader makes sense.

@noot-to-the-noot
Copy link

@danepowell can you look over this? I've noticed that @cweagans appears to not look into this repository frequently and hope you have the rights to merge here?
Much appreciated!

@coveralls
Copy link

Coverage Status

Coverage: 40.0% (+0.1%) from 39.873% when pulling 65bdd70 on skyred:408 into fac6b31 on cweagans:master.

@danepowell danepowell self-requested a review January 23, 2023 17:47
@danepowell danepowell changed the title Replace streamer with a downloader to support socks5 Fix #408: Support proxies Jan 23, 2023
@danepowell danepowell merged commit 711208d into cweagans:master Jan 23, 2023
@noot-to-the-noot
Copy link

Thanks a lot!

@skyred skyred deleted the 408 branch January 24, 2023 14:33
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.

4 participants