Hello Qpid-Apache,

                I am writing an application where both Proton and CURL are 
needed on Linux.

                They are both using OpenSSL. The calls are done in the 
following order

-          Do something with Proton (this will initialize OpenSSL)

-          Do Something with CURL (https) (curl will do its own init/deinit of 
OpenSSL)

-          Do something again with Proton (this fails)

The reason why it fails is because Proton has a static int ssl_initialized;  
that acts like a "lazyInit". This variable is never set back to "0", thus 
making all proton calls subsequent to an OpenSSL deinit fail.

I believe this to be an undesired behavior. Can you confirm?

Best Regards,
Andrei Porumb

Reply via email to