mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-28 02:49:02 +02:00
Fix stream draining for http/2 connections #290
This commit is contained in:
@ -155,7 +155,9 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
if !item.flags.contains(EntryFlags::WRITE_DONE) {
|
||||
if item.flags.contains(EntryFlags::FINISHED)
|
||||
&& !item.flags.contains(EntryFlags::WRITE_DONE)
|
||||
{
|
||||
match item.stream.poll_completed(false) {
|
||||
Ok(Async::NotReady) => (),
|
||||
Ok(Async::Ready(_)) => {
|
||||
|
Reference in New Issue
Block a user