Skip to content

Is there memory leak or other bad impact if initialize SSL_CTX* object many times? #24203

Closed Answered by mattcaswell
lclfans asked this question in Q&A
Discussion options

You must be logged in to vote

Almost all of these calls have an SSL_* equivalent. So SSL_CTX_set_options has SSL_set_options. So if you really need to customise these things on a per connection basis then you should use the SSL_* forms instead. Don't change the underlying SSL_CTX once it has been used to create a connection.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@t8m
Comment options

@lclfans
Comment options

@mattcaswell
Comment options

Answer selected by lclfans
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants