Skip to content

Conversation

@nox
Copy link
Collaborator

@nox nox commented Jan 31, 2022

No description provided.

Copy link
Contributor

@jyn514 jyn514 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this something we can test somehow? When did you run into this error?

@nox
Copy link
Collaborator Author

nox commented Sep 30, 2022

When did you run into this error?

In production with real-world websites.

@nox nox force-pushed the shutdown branch 3 times, most recently from 85c2e8a to 439a549 Compare December 6, 2022 09:16
if let Some(stack) = e.ssl_error() {
if let Some(first) = stack.errors.first() {
if first.code() as i32 == boring_sys::SSL_R_PROTOCOL_IS_SHUTDOWN {
return Poll::Ready(Ok(ShutdownResult::Received));
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not exactly sure what this means. This is why I didn't put it in the boring crate at first.

@nox nox force-pushed the shutdown branch 3 times, most recently from b46582e to 1d3fb25 Compare December 6, 2022 10:59
@kornelski
Copy link
Collaborator

I've rebased it and added a safe API for ERR_peek_last_error

@kornelski kornelski requested a review from jyn514 January 6, 2026 13:07
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.

3 participants