Return-Path: X-Original-To: apmail-celix-commits-archive@www.apache.org Delivered-To: apmail-celix-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2831717457 for ; Wed, 11 Feb 2015 15:21:12 +0000 (UTC) Received: (qmail 50681 invoked by uid 500); 11 Feb 2015 15:21:12 -0000 Delivered-To: apmail-celix-commits-archive@celix.apache.org Received: (qmail 50656 invoked by uid 500); 11 Feb 2015 15:21:12 -0000 Mailing-List: contact commits-help@celix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@celix.apache.org Delivered-To: mailing list commits@celix.apache.org Received: (qmail 50647 invoked by uid 500); 11 Feb 2015 15:21:12 -0000 Delivered-To: apmail-incubator-celix-commits@incubator.apache.org Received: (qmail 50644 invoked by uid 99); 11 Feb 2015 15:21:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2015 15:21:12 +0000 Date: Wed, 11 Feb 2015 15:21:11 +0000 (UTC) From: "Alexander Broekhuis (JIRA)" To: celix-commits@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CELIX-215) curl_global_init() not called directly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CELIX-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Broekhuis resolved CELIX-215. --------------------------------------- Resolution: Fixed Fix Version/s: next > 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)