1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +00:00

Advertise longpoll support in X-Mining-Extensions

This commit is contained in:
Luke Dashjr 2012-01-24 18:10:38 -05:00 committed by Con Kolivas
parent 06fd9c4a4c
commit fe88648e5d

2
util.c
View File

@ -373,7 +373,7 @@ json_t *json_rpc_call(CURL *curl, const char *url,
headers = curl_slist_append(headers,
"Content-type: application/json");
headers = curl_slist_append(headers,
"X-Mining-Extensions: midstate rollntime");
"X-Mining-Extensions: longpoll midstate rollntime");
headers = curl_slist_append(headers, len_hdr);
headers = curl_slist_append(headers, user_agent_hdr);
headers = curl_slist_append(headers, "Expect:"); /* disable Expect hdr*/