diff --git a/src/ch/ch_monitor.c b/src/ch/ch_monitor.c index 935239a721..690aea37c8 100644 --- a/src/ch/ch_monitor.c +++ b/src/ch/ch_monitor.c @@ -685,6 +685,7 @@ virCHMonitorPutNoContent(virCHMonitor *mon, const char *endpoint) curl_easy_setopt(mon->handle, CURLOPT_URL, url); curl_easy_setopt(mon->handle, CURLOPT_UPLOAD, 1L); curl_easy_setopt(mon->handle, CURLOPT_HTTPHEADER, NULL); + curl_easy_setopt(mon->handle, CURLOPT_INFILESIZE, 0L); responseCode = virCHMonitorCurlPerform(mon->handle);