diff --git a/util.c b/util.c index 0657bba6..03e9e187 100644 --- a/util.c +++ b/util.c @@ -432,6 +432,7 @@ err_out: curl_easy_reset(curl); if (!successful_connect) applog(LOG_DEBUG, "Failed to connect in json_rpc_call"); + curl_easy_setopt(curl, CURLOPT_FRESH_CONNECT, 1); return NULL; }