Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Indy 10 + OpenSSL: error:140A90F1:lib(20):func(169):reason(241)
#5
(09-04-2020, 09:26 AM)ZGabrovski@gmail.com Wrote: I can confirm now, that for sure the problem comes from openSSL dll library sharing between the host exe app and dll plugin library.

Using Indy statically in multiple modules, especially modules that are unloaded and reloaded dynamically, is a known issue for OpenSSL, which is not designed to be unloaded and reloaded dynamically (and in fact, in OpenSSL 1.1.x, it was updated to avoid being unloaded from memory at all). The separate modules need to share a single copy of Indy/OpenSSL, such as by moving your Indy code to a separate runtime package that they can share.

(09-04-2020, 09:26 AM)ZGabrovski@gmail.com Wrote: So - I did a following:

Interesting approach. I'll consider something like that for a future release. Probably not for Indy 10, but maybe for Indy 11.

(09-04-2020, 09:26 AM)ZGabrovski@gmail.com Wrote: I try to create a branch and open a new pull request, but it is not possible, as described here: https://stackoverflow.com/questions/3094...-in-github

You can't create a branch in Indy's repo. You will have to pull Indy to your own repo first, modify it as desired, and then submit a Pull Request from your repo to Indy's repo.

Reply


Messages In This Thread
RE: Indy 10 + OpenSSL: error:140A90F1:lib(20):func(169):reason(241) - by rlebeau - 09-04-2020, 07:14 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)