perf(upgrade): forward vectored writes on the Upgraded type
This commit is contained in:
@@ -955,7 +955,7 @@ mod upgrades {
|
||||
};
|
||||
|
||||
let (io, buf, _) = h1.into_inner();
|
||||
pending.fulfill(Upgraded::new(Box::new(io), buf));
|
||||
pending.fulfill(Upgraded::new(io, buf));
|
||||
return Poll::Ready(Ok(()));
|
||||
}
|
||||
Err(e) => match *e.kind() {
|
||||
|
||||
Reference in New Issue
Block a user