mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
added timeout for preview screenshot downloading
This commit is contained in:
parent
b0208d8b9b
commit
12e65e785e
2
HISTORY
2
HISTORY
@ -348,4 +348,6 @@ Version 0.4.8
|
||||
Version 0.5.0
|
||||
|
||||
- fixed display of channel separators
|
||||
- added some debug output when installing skins
|
||||
- added timeout for preview screenshot downloading
|
||||
|
||||
|
@ -85,6 +85,7 @@ inline void InitCurlLibraryIfNeeded()
|
||||
curl_easy_setopt(curlfuncs::curl, CURLOPT_WRITEDATA, 0); // Set option to write to string
|
||||
curl_easy_setopt(curlfuncs::curl, CURLOPT_FOLLOWLOCATION, TRUE);
|
||||
curl_easy_setopt(curlfuncs::curl, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Mayukh's libcurl wrapper http://www.mayukhbose.com/)");
|
||||
curl_easy_setopt(curlfuncs::curl, CURLOPT_TIMEOUT, 5L);
|
||||
curlfuncs::bInitialized = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user