You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by "Pepijn Noltes (JIRA)" <ji...@apache.org> on 2015/11/03 16:19:27 UTC

[jira] [Closed] (CELIX-215) curl_global_init() not called directly

     [ https://issues.apache.org/jira/browse/CELIX-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pepijn Noltes closed CELIX-215.
-------------------------------

> curl_global_init() not called directly
> --------------------------------------
>
>                 Key: CELIX-215
>                 URL: https://issues.apache.org/jira/browse/CELIX-215
>             Project: Celix
>          Issue Type: Bug
>            Reporter: Daniel Parker
>            Assignee: Alexander Broekhuis
>            Priority: Minor
>             Fix For: next
>
>
> curl_global_init() is called by curl_easy_init() if it has not been called already (so the system works as-is), but according to the documentation, curl_global_init() is not thread-safe, so it really ought to be called in launcher.c::main() before it starts spawning threads.
> Also, curl_global_cleanup() needs to be called after we're done with curl.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)