Commit fe88648e5d6847a1b9948876cde49044bf1dc614

Luke Dashjr 2012-01-24T18:10:38

Advertise longpoll support in X-Mining-Extensions

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/util.c b/util.c
index b7b18e3..aab5070 100644
--- a/util.c
+++ b/util.c
@@ -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*/