diff options
Diffstat (limited to 'libcore')
| -rw-r--r-- | libcore/curlfuncs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcore/curlfuncs.c b/libcore/curlfuncs.c index ed1ea01..c6dfee5 100644 --- a/libcore/curlfuncs.c +++ b/libcore/curlfuncs.c @@ -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; } } |
