Browse Source

Advertise longpoll support in X-Mining-Extensions

nfactor-troky
Luke Dashjr 13 years ago committed by Con Kolivas
parent
commit
fe88648e5d
  1. 2
      util.c

2
util.c

@ -373,7 +373,7 @@ json_t *json_rpc_call(CURL *curl, const char *url, @@ -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*/

Loading…
Cancel
Save