mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-16 23:27:17 +02:00
Fix random failures caused by CurlDownloader modifying a shared string
This commit is contained in:
parent
ea8e8df6c7
commit
e19c90fc6b
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ struct CurlDownloader : public Downloader
|
|||
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0);
|
||||
}
|
||||
|
||||
data->clear();
|
||||
data = make_ref<std::string>();
|
||||
|
||||
if (requestHeaders) {
|
||||
curl_slist_free_all(requestHeaders);
|
||||
|
|
Loading…
Add table
Reference in a new issue