-
Notifications
You must be signed in to change notification settings - Fork 496
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
Proxy support for WebSocket connections #717
Conversation
You most likely want to also make it possible to supply |
Codecov Report
@@ Coverage Diff @@
## master #717 +/- ##
==========================================
- Coverage 22.63% 22.62% -0.01%
==========================================
Files 93 93
Lines 9568 9572 +4
Branches 795 796 +1
==========================================
Hits 2166 2166
- Misses 7270 7274 +4
Partials 132 132
Continue to review full report at Codecov.
|
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.
Solve merge conflicts and LGTM.
Enabling access to "our" Steam for users in China would be one compelling use case for this. This is in regards to recent events there. |
If Steam global gets blocked by China, an itty bitty SOCKS proxy is probably not going to hold up against the GFW. You would need a lower-level VPN. Regardless, any solution which works for Steam today or in future would also work for a SteamKit2-based codebase, unless Steam itself adds proxy support. |
I do not really understand, you did not add a ready-made solution for proxy support to the master branch? If I want to use this solution, do I need to compile my own version of the library? |
@MakcStudio Yes, this PR wasn't accepted, so you have to compile this branch manually. |
Many people in China are using Shadowsocks which encrypts SOCKS5 traffic between the client and server. Also, WebSocket proxy goes throughh HTTPS and would be encrypted as well. The GFW has no way of seeing that it is trying to access Steam This is useful and quite a simple update. I am not sure why it can't be merged. |
We're not ignoring it, we're selective about adding features that can be easily misused for harmful and abusive purposes. If you have a compelling, legitimate, and practical use-case, then I'm all ears. If something is theoretically useful only in future, but practically abusable now, then I'll wait for that future. |
Adds proxy support for WebSocket connections