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

Way to call set_mode #138

Open
daurnimator opened this issue Jul 9, 2018 · 0 comments
Open

Way to call set_mode #138

daurnimator opened this issue Jul 9, 2018 · 0 comments

Comments

@daurnimator
Copy link
Collaborator

To copy nginx' default SSL context setup, you need to be able to call:

SSL_CTX_set_mode(ssl->ctx, SSL_MODE_RELEASE_BUFFERS);
SSL_CTX_set_mode(ssl->ctx, SSL_MODE_NO_AUTO_CHAIN);

Cqueues also uses set_mode internally.

SSL_set_mode(ssl, SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER);
SSL_set_mode(ssl, SSL_MODE_ENABLE_PARTIAL_WRITE);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant