celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Parker (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CELIX-215) curl_global_init() not called directly
Date Wed, 11 Feb 2015 14:59:12 GMT

    [ https://issues.apache.org/jira/browse/CELIX-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14316305#comment-14316305

Daniel Parker commented on CELIX-215:

Additionally, the curl_global_init() and curl_global_cleanup() calls should be removed from

> 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
>            Priority: Minor
> 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

View raw message