-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows DLL stays locked when linked against OpenSSL 1.1.1j #16024
Comments
Hi, I just got new insights. I wondered if it might have to do with a specific OpenSSL version, and indeed it is the case. Versions Now the question is - which of the |
The bisect is done:
|
Ok, I just tried to revert fc4c034 and it is still not good. |
Currently retesting. edit:
|
OK, I think I found it, and this tme it does make sense (probably):
I tried to revert 5fba3af on tag OpenSSL_1_1_1c, but this yields conflicts I don't understand. Hopefully this will give you enough information to figure out what's going on. |
You can try configuring and building with |
That fixed it! Now it works with 1.1.1k :D 🥳 |
…cked DLL Issue was that OpenSSL introduced some stuff breaking this. Solution from OpenSSL-Team is to compile with `no-pinshared` (ref: openssl/openssl#16024 (comment))
Hello there,
I have a plugin for mumble in the works, which faciliates an updater. Mumble can load and unload the plugins. They are just DLLs exporting a bunch of functions. Mumble also has an updater, that calls a plugin function to get the latest download URL. It then fetches the new plugin, unloads the current one if loaded, and then⚠️ deletes the old plugin dll to overwrite it with the downloaded version.
This is the point where I get problems:
As soon as I compile against OpenSSL (1.1.1j is in effect here) the DLL gets locked by mumble and could not be free'd entirely and thus cannot be deleted by mumble.
cpp-httplib and/orOpenSSL#define CPPHTTPLIB_OPENSSL_SUPPORT 1
to let cpp-httplib uses itDetails:
(it looks like I don't understand whats going on in the code - but its working fine with older openssl versions)
x86_64-w64-mingw32-gcc (GCC) 10-posix 20210110
:./Configure mingw64 -static no-weak-ssl-ciphers no-ssl2 no-ssl3 no-idea no-dtls1 --cross-compile-prefix=x86_64-w64-mingw32- && make clean && make
The text was updated successfully, but these errors were encountered: