[tor-commits] [meek/proxy] Add socks5 and socks4a good tests.

dcf at torproject.org dcf at torproject.org
Sun May 25 18:24:19 UTC 2014


commit 172d4f960660deddeaa0be4d3034a417b57419e7
Author: David Fifield <david at 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"},
 		{"http://user@localhost:8080", "http://user@localhost:8080"},
 		{"http://user:password@localhost:8080", "http://user:password@localhost:8080"},
+		{"socks5://localhost:1080", "socks5://localhost:1080"},
+		{"socks4a://localhost:1080", "socks4a://localhost:1080"},
 		{"unknown://localhost/whatever", "unknown://localhost/whatever"},
 	}
 





More information about the tor-commits mailing list