[
https://issues.apache.org/jira/browse/MINIFICPP-877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16846573#comment-16846573
]
Daniel Bakai commented on MINIFICPP-877:
----------------------------------------
OpenSSLInitializer from TLSSocket is still problematic.
Because curl_global_init and OpenSSL initialization is unsafe to call
simultaneously, and I don't see any synchronization between
HTTPClientInitializer and OpenSSLInitializer, it was potentially unsafe so far,
and because TLSSocket is not part of an extension it is still unsafe.
There might be a way to make this initializer conform to the new framework
provided by this pull request, but I don't yet see how it could be done best.
> Create a thread safe way to call thirdparty global initializers
> ---------------------------------------------------------------
>
> Key: MINIFICPP-877
> URL: https://issues.apache.org/jira/browse/MINIFICPP-877
> Project: Apache NiFi MiNiFi C++
> Issue Type: New Feature
> Reporter: Daniel Bakai
> Assignee: Daniel Bakai
> Priority: Major
> Fix For: 0.7.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)