This commit is contained in:
Jay D Dee
2023-03-24 18:29:42 -04:00
parent 3dd6787531
commit fcd7727b0d
6 changed files with 780 additions and 1190 deletions

1
util.c
View File

@@ -553,6 +553,7 @@ json_t *json_rpc_call(CURL *curl, const char *url,
long timeout = (flags & JSON_RPC_LONGPOLL) ? opt_timeout : 30;
struct header_info hi = {0};
all_data.headers = &hi;
/* it is assumed that 'curl' is freshly [re]initialized at this pt */
if (opt_protocol) curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);