Skip to content

Conversation

@musybite
Copy link
Collaborator

This MR is inspired by #24, but does not use thread-local variables to store username/password. This is IMO safest and cleanest way to do it.

technoweenie added a commit to lostisland/faraday that referenced this pull request Jun 13, 2019
technoweenie added a commit to technoweenie/faraday-live that referenced this pull request Jun 13, 2019
@technoweenie
Copy link

Hi, I'd like to see this in a socksify release so I can use it in Faraday. I don't personally use a SOCKS proxy, but I have successfully tested it in my integration suite with Faraday and a golang socks server.

Is there any way I can help get this out?

/cc Integration test suite PR: technoweenie/faraday-live#7
/cc Faraday PR: lostisland/faraday#992

@guivinicius
Copy link

is this good to go?

@gcolson
Copy link

gcolson commented Jul 13, 2020

Same question as @guivinicius : what is preventing this PR from being merged for so long ?

@iMacTia
Copy link

iMacTia commented Oct 14, 2020

Is there anything we can do to move this forward?

@top4ek
Copy link

top4ek commented Nov 6, 2021

Is that dead?

@astro
Copy link
Owner

astro commented Mar 21, 2022

Who wants to become maintainer?

@MatzFan
Copy link
Collaborator

MatzFan commented Jun 24, 2022

@astro if you are still looking for a maintainer for socksify I'm happy to give it a go.

@astro
Copy link
Owner

astro commented Jun 24, 2022

@MatzFan Thanks. Please be kind to my baby. ;-)

@MatzFan
Copy link
Collaborator

MatzFan commented Jun 24, 2022

With 40M downloads from rubygems.org I could hardly do otherwise :-)

@astro
Copy link
Owner

astro commented Jun 25, 2022

Oh, I was not aware.

In that case I would like to read all changes before publishing to rubygems.org. Please ping me whenever you tag a release.

@MatzFan
Copy link
Collaborator

MatzFan commented Jun 25, 2022

@astro sure, will do.

@basex
Copy link

basex commented Sep 19, 2022

Can this be merged? Works well.

@anton-smagin
Copy link
Contributor

Looks like a solid solution. Do you have any blockers to release this?

@astro astro force-pushed the net-http-sockproxy-auth branch from dae6100 to 2fd0fc3 Compare July 9, 2025 20:35
Inspired by #24. This version does not require thread-local variables,
everything kept inside instance and local variables.

Thanks @ojab!
@astro astro force-pushed the net-http-sockproxy-auth branch from 2fd0fc3 to 4af5542 Compare July 9, 2025 20:47
@astro
Copy link
Owner

astro commented Jul 9, 2025

I eventually rebased this one but the linter isn't happy and there are no tests for the new functionality.

Before I merge I'd love to get some review and suggestions by you who are more versed with contemporary Ruby practices.

@MatzFan
Copy link
Collaborator

MatzFan commented Jul 10, 2025

The lack of a test facility for socks authentication was my only objection to adding this functionality, but someone further down that thread said it can be done with SSH. I'll take a look, this is long overdue.

@anton-smagin
Copy link
Contributor

Hey @MatzFan @astro I added some tests for auth. CI build is 🟢.

you can take a look it here #62

@MatzFan MatzFan merged commit 4af5542 into master Jul 12, 2025
0 of 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.