wbond / package_control

The Sublime Text package manager
https://packagecontrol.io
4.77k stars 817 forks source link

Support for socks proxy (or downloader option?) #683

Open dindinw opened 10 years ago

dindinw commented 10 years ago

The proxy support is for HTTP/HTTPS only, But unfortunately, I use a Socks5 proxy. Similar with #468, the downloader is fixed to urllib2 if it available , no option in setting file can be use to specify a curl /wget downloader and add extra args to support a Socks5 proxy. Any suggestion for this?

wbond commented 10 years ago

Not currently, mostly since I don't have any proxies to work with or test with. If you have some ideas, let's discuss them.

dindinw commented 10 years ago

I think there are two options, one is to patch the current urllib2 downloader. another is to make downloaders configurable. So what's reason to fix the downloader internally by design? Because if #468 still have some difficulty to resolve. maybe patch the urllib2 downloader is the only choice.

ddimtirov commented 7 years ago

An easy way to test connection through socks proxy is to use ssh somehost -D 1080 and then use localhost:1080 as a proxy.