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

native-tls: fix buffered io hang #106

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

LucioFranco
Copy link
Member

Follow up on #99

}
Poll::Ready(Err(_e)) => {
mut_self.0 = Some(s);
todo!("figure out how to bubble up the io error")
Copy link
Member Author

Choose a reason for hiding this comment

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

@sfackler do you know how we can bubble up an io error through native_tls::Error or should we create a new error type here that wraps both?

Copy link

Choose a reason for hiding this comment

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

You may need to make a wrapper type (or just use box<error>.

@LucioFranco LucioFranco requested review from djc, quininer and sfackler May 6, 2022 17:14
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