-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add SOCKS proxy support #2081
Add SOCKS proxy support #2081
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #2081 +/- ##
===========================================
- Coverage 93.11% 93.03% -0.09%
===========================================
Files 60 60
Lines 11096 11136 +40
===========================================
+ Hits 10332 10360 +28
- Misses 764 776 +12
Continue to review full report at Codecov.
|
I have a need to access AWS endpoints over SOCKS5 proxy and I've tested this modification successfully in that environment. Are you still working on this PR, and is there anything I could help with? |
Extend proxy support to s3 driver as well. Socks support requires botocore with boto/botocore#2081 merged.
Are you still working on this feature? Would you mind if I pick it up? |
@zhan9san please be my guest |
Extend proxy support to s3 driver as well. Socks support requires botocore with boto/botocore#2081 merged.
Extend proxy support to s3 driver as well. Socks support requires botocore with boto/botocore#2081 merged.
Extend proxy support to s3 driver as well. Socks support requires botocore with boto/botocore#2081 merged.
Extend proxy support to s3 driver as well. Socks support requires botocore with boto/botocore#2081 merged.
Extend proxy support to s3 driver as well. Socks support requires botocore with boto/botocore#2081 merged.
Extend proxy support to s3 driver as well. Socks support requires botocore with boto/botocore#2081 merged.
Extend proxy support to s3 driver as well. Socks support requires botocore with boto/botocore#2081 merged.
Extend proxy support to s3 driver as well. Socks support requires botocore with boto/botocore#2081 merged.
Thank you for creating this PR. After bringing this up for discussion with the team we decided to continue tracking this request in #2541 going forward, with the latest update here: #2541 (comment) |
Although this "works for me", it's still work in progress and needs at least some more tests in
test_http_session.py
to cover cases whereURLLib3Session
is configured with SOCKS proxies. Before going any further I wanted to verify the general approach.One particular question is how to avoid warnings from importing
urlib3.contrib.socks
whensocks
(an optional dependency) is not available.