mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 09:39:15 +00:00
Merge pull request #1038 from nokia/network-fix
file-updater: fix crash due to network timeout
This commit is contained in:
commit
a76b919c6e
|
@ -117,6 +117,7 @@ static bool do_http_request(struct update_info *info, const char *url,
|
|||
curl_easy_setopt(info->curl, CURLOPT_WRITEFUNCTION, http_write);
|
||||
curl_easy_setopt(info->curl, CURLOPT_WRITEDATA, info);
|
||||
curl_easy_setopt(info->curl, CURLOPT_FAILONERROR, true);
|
||||
curl_easy_setopt(info->curl, CURLOPT_NOSIGNAL, 1);
|
||||
|
||||
if (!info->remote_url) {
|
||||
// We only care about headers from the main package file
|
||||
|
|
Loading…
Reference in a new issue