We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I was trying to enable SSL_MODE_RELEASE_BUFFERS mode on my context pointer, in order to reduce memory usage of my application.
SSL_MODE_RELEASE_BUFFERS
This is done by:
(SSLExt/sslCtxSetMode (.sslCtxPointer context) SSLExt/SSL_MODE_RELEASE_BUFFERS)
However, I am always getting error:
UnsatisfiedLinkError org.apache.tomcat.jni.SSLExt.sslCtxSetMode(JJ)J org.apache.tomcat.jni.SSLExt.sslCtxSetMode (SSLExt.java:-2)
This has been tested on Ubuntu with self-compiled openssl 1.0.1p and 1.0.2d, and ArchLinux with latest 1.0.2d.
The ldd result on my ubuntu box:
linux-vdso.so.1 => (0x00007fffc8ebf000) libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007fa17e5c2000) libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007fa17e1e7000) libapr-1.so.0 => /usr/lib/x86_64-linux-gnu/libapr-1.so.0 (0x00007fa17dfb5000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa17dd98000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa17d9d8000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa17d7d3000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fa17d5bc000) libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fa17d3b7000) /lib64/ld-linux-x86-64.so.2 (0x00007fa17ea56000)
and my archlinux
linux-vdso.so.1 (0x00007ffc2e9dd000) libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0x00007fc6c5291000) libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0x00007fc6c4e1a000) libapr-1.so.0 => /usr/lib/libapr-1.so.0 (0x00007fc6c4be5000) libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fc6c49c7000) libc.so.6 => /usr/lib/libc.so.6 (0x00007fc6c4623000) libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fc6c441f000) libz.so.1 => /usr/lib/libz.so.1 (0x00007fc6c4208000) libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007fc6c4003000) librt.so.1 => /usr/lib/librt.so.1 (0x00007fc6c3dfb000) libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007fc6c3bc2000) /usr/lib64/ld-linux-x86-64.so.2 (0x0000555797123000)
Just got no idea about this issue, so any question/help is welcomed. Thanks!
The text was updated successfully, but these errors were encountered:
Let me have a look
Sorry, something went wrong.
Actually I think we should remove SSLExt as we not support it anyway. You can do this kind of stuff via SSLContext. That said this is done by default.
normanmaurer
No branches or pull requests
I was trying to enable
SSL_MODE_RELEASE_BUFFERS
mode on my context pointer, in order to reduce memory usage of my application.This is done by:
However, I am always getting error:
This has been tested on Ubuntu with self-compiled openssl 1.0.1p and 1.0.2d, and ArchLinux with latest 1.0.2d.
The ldd result on my ubuntu box:
and my archlinux
Just got no idea about this issue, so any question/help is welcomed. Thanks!
The text was updated successfully, but these errors were encountered: