perf(upgrade): forward vectored writes on the Upgraded type

This commit is contained in:
Sean McArthur
2019-12-19 14:10:46 -08:00
parent 61b62eeac8
commit 6d2bcef272
4 changed files with 175 additions and 34 deletions

View File

@@ -397,7 +397,7 @@ where
};
let (io, buf, _) = h1.into_inner();
pending.fulfill(Upgraded::new(Box::new(io), buf));
pending.fulfill(Upgraded::new(io, buf));
Poll::Ready(Ok(()))
}
}