Commit fa444294bfc0b5f3aee1ea905aa0d210cfa0c21c

Con Kolivas 2012-10-05T12:41:59

TCP Keepalive in curl is only in very recent versions and not required with regular messages on stratum anyway.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/util.c b/util.c
index 7d7ca43..17e2428 100644
--- a/util.c
+++ b/util.c
@@ -1236,7 +1236,6 @@ bool initiate_stratum(struct pool *pool)
 	curl_easy_setopt(curl, CURLOPT_URL, s);
 	curl_easy_setopt(curl, CURLOPT_TCP_NODELAY, 1);
 	curl_easy_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_TRY);
-	curl_easy_setopt(curl, CURLOPT_TCP_KEEPALIVE, 1);
 	if (pool->rpc_proxy) {
 		curl_easy_setopt(curl, CURLOPT_PROXY, pool->rpc_proxy);
 		curl_easy_setopt(curl, CURLOPT_PROXYTYPE, pool->rpc_proxytype);