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

Fixed attaching ssl-ctx to stream for Lispworks (8). #225

Merged
merged 3 commits into from
Jan 25, 2024

Conversation

mdbergmann
Copy link
Contributor

@mdbergmann mdbergmann commented Jan 20, 2024

This implementation now manually creates a ssl-ctx-pointer via comm:make-ssl-ctx and configures the certificate and private key on it, which is then attached to the stream.
Previously, attach-ssl was called with a symbol parameter for ssl-ctx and a callback function. But the callback function was not called.

This implementation now manually creates a ssl-ctx-pointer via
`comm:make-ssl-ctx' and configures the certificate and private key on
it, which is then attached to the stream.
Previously, `attach-ssl' was called with a symbol parameter for
`ssl-ctx' and a callback function. But the callback function was not called.
@mdbergmann
Copy link
Contributor Author

Please check.
Unfortunately I don't have other LW versions to check on.

@mdbergmann
Copy link
Contributor Author

I think it might be possible to create one ssl-ctx per acceptor which might be a bit more performant.

@mdbergmann
Copy link
Contributor Author

As mentioned, the ssl-ctx can be setup per acceptor and is just reused for attach-ssl.
Tested it OK here on macOS with LW8.

@mdbergmann
Copy link
Contributor Author

Bump.

@hanshuebner hanshuebner merged commit 385dca9 into edicl:master Jan 25, 2024
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

Successfully merging this pull request may close these issues.

2 participants