From a095994de28ec31bd49a54c2d757493f41fc0c06 Mon Sep 17 00:00:00 2001 From: Colin Marc Date: Sat, 4 May 2024 22:11:19 +0200 Subject: [PATCH] fix(server): garbage-collect partial writes --- mm-server/src/server.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mm-server/src/server.rs b/mm-server/src/server.rs index 866c577..143aead 100644 --- a/mm-server/src/server.rs +++ b/mm-server/src/server.rs @@ -564,6 +564,9 @@ impl Server { client .partial_reads .retain(|sid, _| !client.conn.stream_finished(*sid)); + client + .partial_writes + .retain(|sid, _| !client.conn.stream_finished(*sid)); Ok(()) }