Open shdown opened 1 year ago
This is to do with your OpenSSL blowing chunks on being reinitialized. You can try leaving the context flag that tells it to initialize tls off on the second creation.
You can try leaving the context flag that tells it to initialize tls off on the second creation.
I don’t understand this part. What exactly (in terms of code) are you suggesting?
info.options = LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT;
We already set this flag each time we call lws_create_context
.
Yeah. It makes lws ask the tls library to initialize itself.
You can try leaving the context flag that tells it to initialize tls off on the second creation.
ie, try NOT telling it to reinit the tls library each time, just the first context.
Hello,
we have a program that creates multiple LWS contexts in different threads. It worked perfectly fine on other our servers, but on a new server we have the following issue:
We collected the core file and inspected it with gdb, backtrack says it crashed in
So, what are we doing wrong? Any help would be appreciated.