Skip to content
Snippets Groups Projects
Commit e19c90fc authored by Eelco Dolstra's avatar Eelco Dolstra
Browse files

Fix random failures caused by CurlDownloader modifying a shared string

parent ea8e8df6
No related branches found
No related tags found
No related merge requests found
...@@ -157,7 +157,7 @@ struct CurlDownloader : public Downloader ...@@ -157,7 +157,7 @@ struct CurlDownloader : public Downloader
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0); curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0);
} }
data->clear(); data = make_ref<std::string>();
if (requestHeaders) { if (requestHeaders) {
curl_slist_free_all(requestHeaders); curl_slist_free_all(requestHeaders);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment