Merge branch 'master' into master

This commit is contained in:
tom
2022-07-18 14:25:33 +08:00
committed by GitHub
63 changed files with 1609 additions and 717 deletions

View File

@@ -492,7 +492,7 @@ impl Connection {
res = self.stream.next() => {
if let Some(res) = res {
last_recv_time = Instant::now();
timeout(SEND_TIMEOUT_OTHER, forward.send(res?.into())).await??;
timeout(SEND_TIMEOUT_OTHER, forward.send(res?)).await??;
} else {
bail!("Stream reset by the peer");
}