diff options
Diffstat (limited to 'common/curl_request.cpp')
-rw-r--r-- | common/curl_request.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/curl_request.cpp b/common/curl_request.cpp index dc9db0269c..7cfe8fcabd 100644 --- a/common/curl_request.cpp +++ b/common/curl_request.cpp @@ -341,6 +341,8 @@ void async_cancel_cb(uv_async_t * /*async*/) { } void thread_init_cb() { + curl_global_init(CURL_GLOBAL_ALL); + loop = uv_loop_new(); uv_async_init(loop, &async_add, async_add_cb); uv_async_init(loop, &async_cancel, async_cancel_cb); |