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

tls_wrap: clear errors on return #4687

Closed

Conversation

indutny
Copy link
Member

@indutny indutny commented Jan 14, 2016

Adopt MarkPopErrorOnReturn from node_crypto.cc, and use it to
clear errors after SSL_read/SSL_write/SSL_shutdown functions.

See: #4485
PR-URL: #4515
Reviewed-By: Ben Noordhuis info@bnoordhuis.nl

[ This is just a backport cc @thealphanerd ]

Adopt `MarkPopErrorOnReturn` from `node_crypto.cc`, and use it to
clear errors after `SSL_read`/`SSL_write`/`SSL_shutdown` functions.

See: nodejs#4485
PR-URL: nodejs#4515
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
@MylesBorins
Copy link
Contributor

thanks @indutny I'll try to co-ordinate with @jasnell to get this in for the next LTS release.

@ChALkeR ChALkeR added the tls Issues and PRs related to the tls subsystem. label Jan 14, 2016
@jasnell
Copy link
Member

jasnell commented Jan 14, 2016

@indutny ... hmm can you target this at v4.x-staging instead?

@indutny
Copy link
Member Author

indutny commented Jan 15, 2016

Superseded by #4709 .

@indutny
Copy link
Member Author

indutny commented Jan 15, 2016

@jasnell ^ ;)

@MylesBorins
Copy link
Contributor

Closing as #4709 has landed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tls Issues and PRs related to the tls subsystem.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants