-
Notifications
You must be signed in to change notification settings - Fork 87
Closed
Description
tokio-rustls/src/common/mod.rs
Lines 330 to 334 in 66fb0ae
fn poll_shutdown(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<io::Result<()>> { | |
while self.session.wants_write() { | |
ready!(self.write_io(cx))?; | |
} | |
self.write_io(cx)
in the snippet may returns Ok(0) and causing an infinite loop.
I've faced this issue in my project.
I've failed to minimize codes that trigger this issue but please let me know if you want to see codes.
Metadata
Metadata
Assignees
Labels
No labels