Skip to content
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

Concurrency issues? #6

Open
ghost opened this issue Aug 23, 2021 · 0 comments
Open

Concurrency issues? #6

ghost opened this issue Aug 23, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 23, 2021

Hello! And THANKS for your work with this. I just implemented this on my server and it works 100% perfect! Thanks!!

I'm just having some doubts now about the two variables "en, de" of type "EVP_CIPHER_CTX".

My server runs a thread connection pool and it has to execute a lot of encryptions and decryptions.
Can I use the same variables "en, de" as global variables in concurrent threads that are constantly encrypting and decrypting?
Or should I create and configure a new "en" and "de" for each operation?

Thankss!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants