Browse Source

Revert "Longpoll is not supposed to use POST and this could be leading to longpoll failures."

This reverts commit ad0be6cfbe.

Wrong fix and probably an inappropriate thing to do anyway.
nfactor-troky
Con Kolivas 14 years ago
parent
commit
24fa8202a7
  1. 1
      util.c

1
util.c

@ -257,7 +257,6 @@ json_t *json_rpc_call(CURL *curl, const char *url,
curl_easy_setopt(curl, CURLOPT_USERPWD, userpass); curl_easy_setopt(curl, CURLOPT_USERPWD, userpass);
curl_easy_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_easy_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
} }
if (!longpoll)
curl_easy_setopt(curl, CURLOPT_POST, 1); curl_easy_setopt(curl, CURLOPT_POST, 1);
if (opt_protocol) if (opt_protocol)

Loading…
Cancel
Save