Browse Source

Merge commit '24e92e4' into bfgminer-4.10.x

Luke Dashjr 11 years ago
parent
commit
5c6de98cb1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      miner.c

+ 1 - 0
miner.c

@@ -10519,6 +10519,7 @@ retry_pool:
 		 * so always establish a fresh connection instead of relying on
 		 * so always establish a fresh connection instead of relying on
 		 * a persistent one. */
 		 * a persistent one. */
 		curl_easy_setopt(curl, CURLOPT_FRESH_CONNECT, 1);
 		curl_easy_setopt(curl, CURLOPT_FRESH_CONNECT, 1);
+		curl_easy_setopt(curl, CURLOPT_FORBID_REUSE, 1);
 		curl_easy_setopt(curl, CURLOPT_OPENSOCKETFUNCTION, save_curl_socket);
 		curl_easy_setopt(curl, CURLOPT_OPENSOCKETFUNCTION, save_curl_socket);
 		curl_easy_setopt(curl, CURLOPT_OPENSOCKETDATA, pool);
 		curl_easy_setopt(curl, CURLOPT_OPENSOCKETDATA, pool);
 		val = json_rpc_call(curl, lp_url, pool->rpc_userpass,
 		val = json_rpc_call(curl, lp_url, pool->rpc_userpass,