commit 172d4f960660deddeaa0be4d3034a417b57419e7 Author: David Fifield david@bamsoftware.com Date: Sun May 25 11:18:13 2014 -0700
Add socks5 and socks4a good tests. --- meek-client/proxy_test.go | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/meek-client/proxy_test.go b/meek-client/proxy_test.go index 9565101..d26362d 100644 --- a/meek-client/proxy_test.go +++ b/meek-client/proxy_test.go @@ -36,6 +36,8 @@ func TestGetProxyURL(t *testing.T) { {"http://localhost:8080/path", "http://localhost:8080/path%22%7D, {"http://user@localhost:8080", "http://user@localhost:8080%22%7D, {"http://user:password@localhost:8080", "http://user:password@localhost:8080%22%7D, + {"socks5://localhost:1080", "socks5://localhost:1080"}, + {"socks4a://localhost:1080", "socks4a://localhost:1080"}, {"unknown://localhost/whatever", "unknown://localhost/whatever"}, }
tor-commits@lists.torproject.org