summaryrefslogtreecommitdiff
path: root/obfs4proxy/pt_extras.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/pt_extras.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/pt_extras.go')
-rw-r--r--obfs4proxy/pt_extras.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/obfs4proxy/pt_extras.go b/obfs4proxy/pt_extras.go
index 56e16cb..4a77734 100644
--- a/obfs4proxy/pt_extras.go
+++ b/obfs4proxy/pt_extras.go
@@ -166,3 +166,5 @@ func validateAddrStr(addrStr string) error {
return nil
}
+
+/* vim :set ts=4 sw=4 sts=4 noet : */