args.file = NULL;
setopt_writedata(handler.curl, &args);
- pr_val_info("HTTP GET: %s -> %s", src, dst);
res = curl_easy_perform(handler.curl); /* write_callback() */
if (args.file != NULL)
file_close(args.file);
unsigned int r;
int error;
- pr_val_info("Downloading '%s'.", src);
+ pr_val_debug("Downloading '%s'.", src);
r = 0;
do {
if (error)
goto end;
+ pr_val_info("HTTP GET: %s -> %s", uri_get_global(uri), final_file_name);
+
error = do_retries(uri_get_global(uri), tmp_file_name, (curl_off_t)ims,
changed);
if (error || !(*changed))
http_direct_download(char const *remote, char const *dest)
{
bool changed;
+ pr_val_info("HTTP GET: %s -> %s", remote, dest);
return http_fetch(remote, dest, 0, &changed);
}