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

Cannot access SSL Error #1416

Open
bartols opened this issue Nov 2, 2022 · 1 comment
Open

Cannot access SSL Error #1416

bartols opened this issue Nov 2, 2022 · 1 comment

Comments

@bartols
Copy link

bartols commented Nov 2, 2022

Is not possibile to access to the SSL error in Connect or in Accept, the error is local to template bool ssl_connect_or_accept_nonblocking.
Solutions could be have a "last_res" in client/server class so will be possible to retrieve the ssl error with SSL_get_error(ssl, res), or save a last_ssl_err or expand enum class Error to every possible SSL connect/accept error

@yhirose
Copy link
Owner

yhirose commented Nov 11, 2022

@bartols, since I don't have any necessity to see errors on OpenSSL level and don't have an environment to reproduce your problem, could you send me a pull request to resolve this? Then, I'll review it. Thanks for your help!

Repository owner deleted a comment from Mufan187569 Apr 24, 2023
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

2 participants