Commit Graph

11 Commits

Author SHA1 Message Date
Philip Hamer 9fb72e3db2
Merge branch 'master' into tls-proxy-build 2022-02-17 12:51:27 -05:00
Rn 2c89656910
Modify http Method String Literal to Variable (#728) 2021-12-19 11:21:45 -05:00
Philip Hamer b484a6e5a0
try compatibility with pre 1.15 as noop 2021-12-06 18:49:39 -05:00
Philip Hamer 2553869a29
clean up comment 2021-12-06 09:30:42 -05:00
Philip Hamer f724bd6a6c
do not edit the generated x_net_proxy.go 2021-12-03 15:59:00 -05:00
Philip Hamer 7f3a5bcae0
make it more intuitive for tls proxy 2021-11-29 14:49:47 -05:00
Philip Hamer 2a082eee69
simplify proxying with tls proxy 2021-11-29 14:19:00 -05:00
Philip Hamer d229c9f93d
try https proxy 2021-11-16 23:26:29 -05:00
Gary Burd 0ec3d1bd7f
Fix typo 2019-03-05 16:42:57 -08:00
Petr cd94665a65 Minor fixes in comments
* Fix typo

"netowrk" is a misspelling of "network"

* Fix export comment

Comment on exported type Hub should be of the form "Hub ..." (golint)
2018-04-15 20:20:28 -07:00
Gary Burd b89020ee79
Add SOCKS5 support
- Bundle the golang.org/x/net/proxy package to x_net_proxy.go. The
package contains a SOCKS5 proxy. The package is bundled to avoid adding
a dependency from the weboscket package to golang.org/x/net.
- Restructure the existing HTTP proxy code so the code can be used as a
dialer with the proxy package.
- Modify Dialer.Dial to use proxy.FromURL.
- Improve tests (avoid modifying package-level data, use timeouts in
tests, use correct proxy URLs in tests).

Fixes #297.
2017-11-30 17:43:01 -08:00