Skip to content

support for CURLOPT_SSL_CTX_FUNCTION / ssl_ctx #278

Discussion options

You must be logged in to vote

One way to work around the risks this entails is to have some optional feature for "configurable-tls" and by default not build all these tweaking options.

That's a great idea! I did not think of that. If we can put this beind a feature then I'm less concerned about adding this; though I'd still want to put appropriate warning labels on the unsafety of the API.

I found it a bit tricky create a configurable optional callback for this and having an API for it in the Configurable trait.

I agree that the way configuration is done right now requires some fiddling. I hope to refactor the internals at some point (for performance reasons) but the trait will stay the same.

I might use a trait i…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@yoav-steinberg
Comment options

Answer selected by yoav-steinberg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants