Commit a589de5a8bd8998d53ee91f344e12c0bc283f719

ckolivas 2013-09-06T10:28:36

Test specifically for socks5h in socks support for stratum.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/util.c b/util.c
index 558b42b..6da5804 100644
--- a/util.c
+++ b/util.c
@@ -1912,6 +1912,7 @@ static bool setup_stratum_socket(struct pool *pool)
 					return false;
 				break;
 			case CURLPROXY_SOCKS5:
+			case CURLPROXY_SOCKS5_HOSTNAME:
 				if (!socks5_negotiate(pool, sockd))
 					return false;
 				break;