On 22/08/2023 15:43, Dipak B wrote:
Is it okay to call openssl_stop_thread() on a thread and then again use that thread for TLS communication ? In effect end up calling open_ssl_thread() multiple times on same thread.
No. Don't do that. Some things get initialised on first use in a thread. The initialisation never gets run again, so if they get deinitialised they remain deinitialised forever on that thread.
Matt