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

rustls Async Read is malfunctioning #20

Closed
mtayyabm opened this issue Aug 2, 2020 · 2 comments
Closed

rustls Async Read is malfunctioning #20

mtayyabm opened this issue Aug 2, 2020 · 2 comments

Comments

@mtayyabm
Copy link

mtayyabm commented Aug 2, 2020

Async Read always return 0 bytes when read on the splitted half reader. Ideally it should wait until bytes are available.

@quininer
Copy link
Member

quininer commented Aug 4, 2020

Can you give a reproduction example? I believe tokio-rustls only returns 0 for eof.

@quininer
Copy link
Member

I don't believe this problem exists. we can see from the code that tokio-rustls returns 0 if and only if eof.

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

No branches or pull requests

2 participants