summaryrefslogtreecommitdiff
path: root/obfs4proxy/proxy_socks4.go
diff options
context:
space:
mode:
authorYawning Angel <yawning@schwanenlied.me>2014-05-25 12:40:06 +0000
committerYawning Angel <yawning@schwanenlied.me>2014-05-25 12:40:06 +0000
commitc05a7a2e34dc832f192beaeee43931d13778dbe2 (patch)
treee6615994b461d5287256f23a37f3c6a6684fb065 /obfs4proxy/proxy_socks4.go
parentf0d8923a9a864f70b658dd86e67feb373d8f879f (diff)
Add support for HTTP CONNECT proxies.
Joining a SOCKS dialer on the list of things the Golang runtime really should have is a HTTP CONNECT dialer. There's a full fledged HTTP client and server there, but not this. Why? Who knows. This fixes issue #7.
Diffstat (limited to 'obfs4proxy/proxy_socks4.go')
-rw-r--r--obfs4proxy/proxy_socks4.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/obfs4proxy/proxy_socks4.go b/obfs4proxy/proxy_socks4.go
index 9d6bd4d..95cc7b6 100644
--- a/obfs4proxy/proxy_socks4.go
+++ b/obfs4proxy/proxy_socks4.go
@@ -162,3 +162,5 @@ func init() {
// Despite the scheme name, this really is SOCKS4.
proxy.RegisterDialerType("socks4a", newSOCKS4)
}
+
+/* vim :set ts=4 sw=4 sts=4 noet : */