mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
Fix missing flush for tcp
This commit is contained in:
parent
29fee65616
commit
5d502ec0af
@ -200,4 +200,8 @@ impl<'a> AsyncWrite for TcpSocket<'a> {
|
||||
Err(e) => Poll::Ready(Err(to_ioerr(e))),
|
||||
})
|
||||
}
|
||||
|
||||
fn poll_flush(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll<io::Result<()>> {
|
||||
Poll::Ready(Ok(())) // TODO: Is there a better implementation for this?
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user