#include "http.h"
#include <plog.h>
-static const int DEFAULT_FETCH_RETRIES = 10;
+static const int DEFAULT_FETCH_RETRIES = 15;
static CURL *curl;
void http_cleanup()
{
- log_debug(_("cleanup CURL"));
+ log_fct_enter();
curl_easy_cleanup(curl);
curl_global_cleanup();
+
+ log_fct_exit();
}
char *get_url_content(const char *url, unsigned int use_cache)
return content;
}
-